NetworkSocketAPI
Dependents: HelloWizFi250Interface
Fork of NetworkSocketAPI by
Diff: NetworkInterface.cpp
- Revision:
- 56:19c9e332c0f1
- Parent:
- 52:52a6c4ea7128
- Child:
- 59:badee747a030
--- a/NetworkInterface.cpp Sun Feb 28 10:32:53 2016 -0600 +++ b/NetworkInterface.cpp Mon Feb 29 15:23:24 2016 +0000 @@ -86,7 +86,5 @@ int32_t NetworkInterface::getHostByName(const char *name, char *ip) { - UDPSocket sock(this); - DnsQuery dns(&sock, name, ip); - return 0; + return dnsQuery(this, name, ip); }