A fork of the original interface for OS/2. Features a correctly-implemented recv (but retains the old behavior via recv2).
Dependents: weather_clock weather_clock
Diff: Socket/Socket.cpp
- Revision:
- 13:41098c907200
- Parent:
- 1:fb4494783863
- Child:
- 21:690526f05fe6
diff -r c5f0eac67a8a -r 41098c907200 Socket/Socket.cpp --- a/Socket/Socket.cpp Wed Oct 08 19:57:58 2014 +0000 +++ b/Socket/Socket.cpp Sun Nov 30 21:14:09 2014 +0000 @@ -20,9 +20,9 @@ #include <cstring> Socket::Socket() : _blocking(true), _timeout(1500) { - wifi = Wifly::getInstance(); + wifi = ESP8266::getInstance(); if (wifi == NULL) - error("Socket constructor error: no wifly instance available!\r\n"); + error("Socket constructor error: no ESP8266 instance available!\r\n"); } void Socket::set_blocking(bool blocking, unsigned int timeout) {