This solution demonstrates the functionality of HTML5 WebSockets through a node.js server together with the socket.io module.
- Start the node.js server, by running > node websocketserver.js
- Host index.html under IIS / Apache
- For testing purposes, open 3 browser windows and navigate to http://localhost
- Start playing with the messages, inspect with Fiddler, and check the node console!
[HTML5 WebSockets / node.js and socket.io on Windows] (http://cosmi.nu/html5-websockets-node-js-and-socket-io-on-windows/98)