Thinger.io client for boards compatible with the ARM mbed Ethernet Interface.

Dependencies:   EthernetInterface ThingerClient mbed-rtos

Fork of ThingerEthernetClient by Alvaro Luis Bustamante

Files at this revision

API Documentation at this revision

Comitter:
alvarolb
Date:
Sat Dec 26 18:16:05 2015 +0000
Parent:
2:03112fdd882a
Commit message:
update socket

Changed in this revision

TCPSocket.h Show annotated file Show diff for this revision Revisions of this file
--- a/TCPSocket.h	Sat Dec 26 13:21:18 2015 +0000
+++ b/TCPSocket.h	Sat Dec 26 18:16:05 2015 +0000
@@ -4,14 +4,13 @@
 {
 public:
     TCPSocket() {
-        set_blocking(false, _timeout);
     }
 
     virtual ~TCPSocket() {
     }
 
     int available() {
-        TimeInterval interval(10); // millisecods
+        TimeInterval interval(0); // millisecods
         return wait_readable(interval)==0 ? 1 : 0;
     }
 };
\ No newline at end of file