C# Class DNS.Client.DnsClient

显示文件 Open project: greggman/hft-unity-gamepad Class Usage Examples

Public Methods

Method Description
Create ( IRequest request = null ) : ClientRequest
DnsClient ( IPAddress ip, int port = DEFAULT_PORT, IRequestResolver resolver = null ) : System
DnsClient ( IPEndPoint dns, IRequestResolver resolver = null ) : System
DnsClient ( string ip, int port = DEFAULT_PORT, IRequestResolver resolver = null ) : System
FromArray ( byte message ) : ClientRequest
Lookup ( string domain, RecordType type = RecordType.A ) : IList
Resolve ( Domain domain, RecordType type ) : ClientResponse
Resolve ( string domain, RecordType type ) : ClientResponse
Reverse ( IPAddress ip ) : string
Reverse ( string ip ) : string

Method Details

Create() public method

public Create ( IRequest request = null ) : ClientRequest
request IRequest
return ClientRequest

DnsClient() public method

public DnsClient ( IPAddress ip, int port = DEFAULT_PORT, IRequestResolver resolver = null ) : System
ip System.Net.IPAddress
port int
resolver IRequestResolver
return System

DnsClient() public method

public DnsClient ( IPEndPoint dns, IRequestResolver resolver = null ) : System
dns System.Net.IPEndPoint
resolver IRequestResolver
return System

DnsClient() public method

public DnsClient ( string ip, int port = DEFAULT_PORT, IRequestResolver resolver = null ) : System
ip string
port int
resolver IRequestResolver
return System

FromArray() public method

public FromArray ( byte message ) : ClientRequest
message byte
return ClientRequest

Lookup() public method

public Lookup ( string domain, RecordType type = RecordType.A ) : IList
domain string
type RecordType
return IList

Resolve() public method

public Resolve ( Domain domain, RecordType type ) : ClientResponse
domain Domain
type RecordType
return ClientResponse

Resolve() public method

public Resolve ( string domain, RecordType type ) : ClientResponse
domain string
type RecordType
return ClientResponse

Reverse() public method

public Reverse ( IPAddress ip ) : string
ip System.Net.IPAddress
return string

Reverse() public method

public Reverse ( string ip ) : string
ip string
return string