Installing a WebSocket server
The HTML5 WebSocket provides a client-side API to connect a browser to a backend server. This server has to support the WebSockets protocol in order to keep the connection persistent.
Installing the Node.js WebSocket server
In this section, we will download and install a server named Node.js on which we can install a WebSockets module.