NetworkSocketAPI

Dependencies:   DnsQuery

Dependents:   HelloWizFi250Interface

Fork of NetworkSocketAPI by NetworkSocketAPI

Files at this revision

API Documentation at this revision

Comitter:
geky
Date:
Mon Feb 29 15:23:24 2016 +0000
Parent:
55:7ff3586d7af4
Child:
57:3c873fab4207
Commit message:
Updated DnsQuery

Changed in this revision

DnsQuery.lib Show annotated file Show diff for this revision Revisions of this file
NetworkInterface.cpp Show annotated file Show diff for this revision Revisions of this file
--- a/DnsQuery.lib	Sun Feb 28 10:32:53 2016 -0600
+++ b/DnsQuery.lib	Mon Feb 29 15:23:24 2016 +0000
@@ -1,1 +1,1 @@
-http://developer.mbed.org/users/geky/code/DnsQuery/#fc334e844124
+https://developer.mbed.org/teams/NetworkSocketAPI/code/DnsQuery/#9c6e83b0ae7c
--- 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);
 }