27 void begin(
const IPAddress &aDNSServer);
38 int inet_aton(
const char *address, IPAddress &result);
UDP class of the Ethernet library.
uint16_t ProcessResponse(uint16_t aTimeout, IPAddress &aAddress)
Deprecated. Does nothing.
Definition Dns.cpp:100
int inet_aton(const char *address, IPAddress &result)
Converts a dotted-decimal IP address string to an IP address.
Definition Dns.cpp:34
uint16_t BuildRequest(const char *aName)
Deprecated. Does nothing.
Definition Dns.cpp:94
void begin(const IPAddress &aDNSServer)
Sets the DNS server used for host name lookups.
Definition Dns.cpp:27
int getHostByName(const char *aHostname, IPAddress &aResult)
Resolves a host name to an IP address.
Definition Dns.cpp:72
IPAddress iDNSServer
Definition Dns.h:73