Simple websocket client

Dependents:   Websocket_Ethernet_HelloWorld Websocket_Wifly_HelloWorld RPC_Wifly_HelloWorld RPC_Ethernet_HelloWorld ... more

Revision:
3:9589afa4712e
Parent:
0:10b6eaafc2da
Child:
4:466f90b7849a
--- a/Websocket.h	Mon Aug 13 09:37:35 2012 +0000
+++ b/Websocket.h	Wed Aug 15 16:24:20 2012 +0000
@@ -137,8 +137,8 @@
         
         TCPSocketConnection socket;
 
-        int read(char * buf, int len, bool block = true);
-        int write(char * buf, int len, uint32_t timeout=5000);
+        int read(char * buf, int len, int min_len = -1);
+        int write(char * buf, int len);
 };
 
 #endif