Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Dependents: HelloWizFi250Interface
Fork of NetworkSocketAPI by
Diff: NetworkInterface.cpp
- Revision:
- 56:19c9e332c0f1
- Parent:
- 52:52a6c4ea7128
- Child:
- 59:badee747a030
diff -r 7ff3586d7af4 -r 19c9e332c0f1 NetworkInterface.cpp
--- 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);
}
