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
- 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__
