Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
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
