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.cpp
- Revision:
- 29:f2ae8f47729b
- Parent:
- 28:6426873b21bd
- Child:
- 30:c19f1e61063b
diff -r 6426873b21bd -r f2ae8f47729b ESP8266Interface.cpp --- a/ESP8266Interface.cpp Thu Aug 13 15:36:54 2015 +0000 +++ b/ESP8266Interface.cpp Thu Aug 27 14:32:50 2015 +0000 @@ -143,9 +143,7 @@ void ESP8266Interface::getHostByName(const char *name, char* hostIP) { SocketInterface* sock = this->allocateSocket(SOCK_UDP); - - DnsQuery dns(sock); - dns.gethostbyname(name, hostIP); + DnsQuery dns(sock, name, hostIP); this->deallocateSocket(sock); }