Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Diff: Websocket.h
- Revision:
- 9:9fa055ed54b4
- Parent:
- 6:01a1eb7c0145
- Child:
- 10:4f02275c34ee
diff -r ecd914cffdf6 -r 9fa055ed54b4 Websocket.h
--- 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;