WebSocket client library
Diff: Websocket.h
- Revision:
- 9:9fa055ed54b4
- Parent:
- 6:01a1eb7c0145
- Child:
- 10:4f02275c34ee
--- a/Websocket.h Wed Aug 24 11:38:02 2011 +0000 +++ b/Websocket.h Wed Aug 24 15:22:52 2011 +0000 @@ -91,12 +91,11 @@ * Constructor for an ethernet communication * * @param url The Websocket url in the form "ws://ip_domain[:port]/path" (by default: port = 80) - * @param port port */ Websocket(char * url); /** - * Connect to the websocket + * Connect to the websocket url * *@return true if the connection is established, false otherwise */ @@ -119,9 +118,9 @@ bool read(char * message); /** - * To see if there is a websocket connection + * To see if there is a websocket connection active * - * @return true if there is a connection + * @return true if there is a connection active */ bool connected(); @@ -148,6 +147,8 @@ bool eth_connected; bool eth_readable; bool eth_writeable; + char eth_rx[512]; + bool response_server_eth; bool wifi_use; bool eth_use;