Simple websocket client

Dependents:   Websocket_Ethernet_HelloWorld Websocket_Wifly_HelloWorld RPC_Wifly_HelloWorld RPC_Ethernet_HelloWorld ... more

Files at this revision

API Documentation at this revision

Comitter:
samux
Date:
Fri Feb 08 12:33:04 2013 +0000
Parent:
6:86e89a0369b9
Commit message:
reduce timeout

Changed in this revision

Websocket.cpp Show annotated file Show diff for this revision Revisions of this file
diff -r 86e89a0369b9 -r 4567996414a5 Websocket.cpp
--- a/Websocket.cpp	Wed Aug 29 15:27:51 2012 +0000
+++ b/Websocket.cpp	Fri Feb 08 12:33:04 2013 +0000
@@ -1,7 +1,7 @@
 #include "Websocket.h"
 
-#define MAX_TRY_WRITE 50
-#define MAX_TRY_READ 30
+#define MAX_TRY_WRITE 20
+#define MAX_TRY_READ 10
 
 //Debug is disabled by default
 #if 0