now this shit works

Dependencies:   BufferedSerial

Dependents:   IoTWeatherStation

Fork of ESP8266NodeMCUInterface by ESP8266

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 {