A comprehensive guide to HTML5 WebSocket (see the book: http://www.amazon.com/Definitive-Guide-HTML5-WebSocket-Apress/dp/1430247401).