Thinger.io Client Library for the WIZnet platform
Dependencies: ThingerClient WIZnetInterface
Fork of ThingerWIZnetClient by
Revision 4:98914de56323, committed 2015-12-26
- Comitter:
- alvarolb
- Date:
- Sat Dec 26 18:11:36 2015 +0000
- Parent:
- 3:3a4a22915760
- Commit message:
- socket update
Changed in this revision
TCPSocket.h | Show annotated file Show diff for this revision Revisions of this file |
diff -r 3a4a22915760 -r 98914de56323 TCPSocket.h --- 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