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.
Dependents: weather_clock weather_clock
Diff: Socket/Endpoint.cpp
- Revision:
- 44:16da10e7b3f7
- Parent:
- 31:fd0eaf273b11
--- a/Socket/Endpoint.cpp Fri May 01 18:29:38 2015 +0000 +++ b/Socket/Endpoint.cpp Wed Jun 03 21:44:20 2015 +0000 @@ -42,7 +42,7 @@ int Endpoint::set_address(const char* host, const int port) { //Resolve DNS address or populate hard-coded IP address - if(ESP8266->gethostbyname(host, _ipAddress)) { + if(ESP8266->getHostByName(host, _ipAddress)) { _port = port; return 0; } else {