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/javas...
the code for the server is at:
http://sebastian.doc.gold.ac.uk/javas...