SocketIO is a compatibility library on top of the MBED Websockets API. Currently the broadcast paradigm is supported. There is much more to the SocketIO spec that could be built into this API. Have fun!

Dependents:   df-2013-thermostat-handson df-2013-minihack-thermostat-complete df-2013-minihack-thermostat df-2013-thermostat-remotes ... more

Revision:
10:997b8c5d2d46
Parent:
2:2979735cb379
Child:
12:8fe60d9ca3bf
diff -r 4f02450a402a -r 997b8c5d2d46 SocketIO.h
--- a/SocketIO.h	Mon Jul 08 04:15:03 2013 +0000
+++ b/SocketIO.h	Thu Oct 17 18:58:40 2013 +0000
@@ -34,7 +34,10 @@
 #include "mbed.h"
 
 // Default SocketIO version
-#define DEFAULT_VERSION  1
+#define DEFAULT_VERSION         1
+
+// Default SocketIO message length (suggestion only...)
+#define SOCKETIO_MESSAGE_LENGTH 256
 
 // HTTP support for session key retrieval
 #include "HTTPClient.h"