ESP8266
|
Public Member Functions | |
void | begin (const IPAddress &aDNSServer) |
int | inet_aton (const char *aIPAddrString, IPAddress &aResult) |
int | getHostByName (const char *aHostname, IPAddress &aResult) |
Protected Member Functions | |
uint16_t | BuildRequest (const char *aName) |
uint16_t | ProcessResponse (uint16_t aTimeout, IPAddress &aAddress) |
Protected Attributes | |
IPAddress | iDNSServer |
uint16_t | iRequestId |
EthernetUDP | iUdp |
void DNSClient::begin | ( | const IPAddress & | aDNSServer | ) |
|
protected |
int DNSClient::getHostByName | ( | const char * | aHostname, |
IPAddress & | aResult | ||
) |
Resolve the given hostname to an IP address.
aHostname | Name to be resolved |
aResult | IPAddress structure to store the returned IP address |
int DNSClient::inet_aton | ( | const char * | aIPAddrString, |
IPAddress & | aResult | ||
) |
Convert a numeric IP address string into a four-byte IP address.
aIPAddrString | IP address to convert |
aResult | IPAddress structure to store the returned IP address |
|
protected |
|
protected |
|
protected |
|
protected |