Thinger.io Client Library for the WIZnet platform
Dependencies: ThingerClient WIZnetInterface
Fork of ThingerWIZnetClient by
Diff: TCPSocket.h
- Revision:
- 4:98914de56323
- Parent:
- 1:db9212d9415d
--- a/TCPSocket.h Sat Dec 26 13:19:11 2015 +0000 +++ b/TCPSocket.h Sat Dec 26 18:11:36 2015 +0000 @@ -4,13 +4,12 @@ { public: TCPSocket() { - set_blocking(false, _timeout); } virtual ~TCPSocket() { } int available() { - return eth->wait_readable(_sock_fd, _blocking ? -1 : _timeout); + return eth->wait_readable(_sock_fd, 0); } }; \ No newline at end of file