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 ESP8266Interface by
Diff: ESP8266Interface.h
- Revision:
- 25:91c4e9d34b77
- Parent:
- 23:fd0f3197c30b
- Child:
- 26:6e36dd3cec3f
diff -r fd0f3197c30b -r 91c4e9d34b77 ESP8266Interface.h --- a/ESP8266Interface.h Thu Jul 23 21:25:30 2015 +0000 +++ b/ESP8266Interface.h Mon Jul 27 15:17:18 2015 +0000 @@ -19,6 +19,7 @@ #include "WiFiInterface.h" #include "ESP8266.h" +#include "DnsQuery.h" /** ESP8266Socket class. This is a ESP8266 implementation of a socket that implements the SocketInterface class. @@ -70,6 +71,7 @@ virtual int32_t isConnected(void) ; virtual SocketInterface *allocateSocket(socket_protocol_t socketProtocol) ; virtual int deallocateSocket(SocketInterface *socket) ; + void getHostByName(const char *name, char* hostIP); private: ESP8266 esp8266;