John Smith with a flacon of HTML N°5 perfume

HTML5

≻ Guidelines for Web Developers

Chapter 9: WebSockets

This page shows all examples, graphics and links used in this chapter of HTML5: Guidelines for Web Developers. The first table lists examples and graphics with the relevant page numbers in the book, includes links (where applicable) to the online version of that page plus information on browser compatibility, and shows a preview of the figure in the book. Click on this preview to load the figure in original size in JPEG format. The second table lists all URLs which appear in the book on the relevant pages. If you would like to leave feedback or report any errors and bugs, please use the e-mail contact above.

pageexample / figurescreenshot
235Figure 9.1 Four connections to the WebSocket broadcast server

created with: Chrome 6

screenshot:
240Figure 9.2 The game “Battleships!” in action

created with: Chrome 6/Safari 5

screenshot:
241Figure 9.3 Start page of the “Battleships!” game

created with: Chrome 6

screenshot:
243Figure 9.4 The dialog box inviting you to a new game

created with: Chrome 6/Safari 5

screenshot:
246Figure 9.5 “Battleships!” in demo mode

created with: Chrome 6

screenshot:
pageURL
233http://www.whatwg.org/specs/web-socket-protocol/
233http://soa.sys-con.com/node/1315473
233http://nodejs.org/
234http://github.com/miksago/node-websocket-server/
236ws://html5.komplett.cc:8887/bc
239http://html5.komplett.cc/code/chap_websockets/game_en.html
239http://html5.komplett.cc/code/chap_websockets/game_en.js
239http://html5.komplett.cc/code/chap_websockets/game.css
239http://html5.komplett.cc/code/chap_websockets/ws/game_server.js
240http://html5.komplett.cc/code/chap_websockets/game_test_en.html