Library to resolve text URLs to IP addresses (IPv4)

Dependents:   NetworkSocketAPI NetworkSocketAPI Nucleo-AWS-IoT-mbed

Branch:
api-changes
Revision:
5:d85c1a7e0e9f
Parent:
4:3749346dcd59
Child:
7:cbe1ef566314
--- a/DnsQuery.h	Mon Feb 22 19:31:19 2016 -0600
+++ b/DnsQuery.h	Mon Feb 22 19:38:10 2016 -0600
@@ -18,14 +18,16 @@
 #ifndef __DNSQUERY_H__
 #define __DNSQUERY_H__
 
-#include "SocketInterface.h"
+#include "UDPSocket.h"
+
+
 class DnsQuery
 {
 public:
     /** Constructor to instantiate a DnsQuery object.
       * @param wifi : A valid pointer to a UDP socket
       */
-    DnsQuery(SocketInterface* sock,const char* hostname, char* ipaddress);
+    DnsQuery(UDPSocket* sock,const char* hostname, char* ipaddress);
  
    
 private:   
@@ -47,8 +49,7 @@
 protected:
     const char* _dnsip;
     char* _string_ip;
-    SocketInterface* socket;
-    
+    UDPSocket* socket;
 };
 
 #endif // __DNSQUERY_H__