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.
Fork of DnsQuery by
Diff: DnsQuery.h
- 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;
