HTML and CSS Reference
Figure 4.8. The simple WebSocket client running in the browser
the server. You should create a page named websocket-sample.html and include this listing
in a <script> block. The page doesn't need to do anything or have any content; you'll
On the server, the WebSocket-Node library is used to extend the base HTTP server. Ap-
pendix E provides the steps you need to take to install this module in Node; if you're fol-
lowing along step-by-step, please take that detour now.