A fork of the original interface for OS/2. Features a correctly-implemented recv (but retains the old behavior via recv2).

Dependencies:   BufferedSerial

Dependents:   weather_clock weather_clock

Revision:
44:16da10e7b3f7
Parent:
31:fd0eaf273b11
diff -r 22d30e936e4c -r 16da10e7b3f7 Socket/Endpoint.cpp
--- 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 {