Thinger.io Client Library for the WIZnet platform
Dependencies: ThingerClient WIZnetInterface
Fork of ThingerWIZnetClient by
TCPSocket.h
- Committer:
- alvarolb
- Date:
- 2015-12-25
- Revision:
- 1:db9212d9415d
- Parent:
- 0:f1f02f6a2e6a
- Child:
- 4:98914de56323
File content as of revision 1:db9212d9415d:
#include "TCPSocketConnection.h" class TCPSocket : public TCPSocketConnection { public: TCPSocket() { set_blocking(false, _timeout); } virtual ~TCPSocket() { } int available() { return eth->wait_readable(_sock_fd, _blocking ? -1 : _timeout); } };