Library to resolve text URLs to IP addresses (IPv4)

Dependents:   NetworkSocketAPI NetworkSocketAPI Nucleo-AWS-IoT-mbed

Revision:
9:16e5208cc4ef
Parent:
7:cbe1ef566314
Child:
10:0fe2c42a0261
--- a/DnsQuery.h	Thu Feb 25 04:05:53 2016 -0600
+++ b/DnsQuery.h	Sun Feb 28 11:23:59 2016 -0600
@@ -48,8 +48,8 @@
       * @returns true if successful, or false otherwise.
       */
     bool getIP(const char* hostname, char* ipaddress);
-    bool resolve(char* resp, char* ipaddress);
-    bool parseRR(char *resp, int& c, char* adr );
+    bool resolve(uint8_t *resp, char* ipaddress);
+    bool parseRR(uint8_t *resp, int& c, char* adr );
 
 protected:
     const char* _dnsip;