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
Diff: SocketIO.cpp
- Revision:
- 11:b32005b69b5c
- Parent:
- 9:4f02450a402a
- Child:
- 12:8fe60d9ca3bf
--- a/SocketIO.cpp Thu Oct 17 18:58:40 2013 +0000 +++ b/SocketIO.cpp Fri Nov 08 20:10:26 2013 +0000 @@ -67,7 +67,7 @@ // only emit if we are connected if (this->is_connected() == true) { // prepare the JSON message for SocketIO - char buffer[256]; + char buffer[512]; char *json = this->prepareSocketIOJSONMessage(name,args,buffer); // send a heartbeat