Thinger.io Client Library for the WIZnet platform
Dependencies: ThingerClient WIZnetInterface
Fork of ThingerWIZnetClient by
Diff: TCPSocket.h
- Revision:
- 0:f1f02f6a2e6a
- Child:
- 1:db9212d9415d
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/TCPSocket.h Thu Dec 24 18:42:10 2015 +0000 @@ -0,0 +1,15 @@ +#include "TCPSocketConnection.h" + +class TCPSocket : public TCPSocketConnection +{ +public: + TCPSocket() { + } + + virtual ~TCPSocket() { + } + + int available() { + return eth->wait_readable(_sock_fd, _blocking ? -1 : _timeout); + } +}; \ No newline at end of file