Thinger.io client for boards compatible with the ARM mbed Ethernet Interface.
Dependencies: EthernetInterface ThingerClient mbed-rtos
Fork of ThingerEthernetClient by
Diff: TCPSocket.h
- Revision:
- 3:a38b8921ff2c
- Parent:
- 0:ad55e6505bbb
--- a/TCPSocket.h Sat Dec 26 13:21:18 2015 +0000 +++ b/TCPSocket.h Sat Dec 26 18:16:05 2015 +0000 @@ -4,14 +4,13 @@ { public: TCPSocket() { - set_blocking(false, _timeout); } virtual ~TCPSocket() { } int available() { - TimeInterval interval(10); // millisecods + TimeInterval interval(0); // millisecods return wait_readable(interval)==0 ? 1 : 0; } }; \ No newline at end of file