The simplest possible HTML5 WebSockets client and Node.js server talking! HD
A very very simple websocket client and server. You need to install node.js to run the server. This will get you started: The code for the client is at: http://sebastian.doc.gold.ac.uk/javascript/testServer1.html the code for the server is at: http://sebastian.doc.gold.ac.uk/javascript/websocketServer.js