May 2015
Beginner
220 pages
4h 16m
English
Socket.IO (http://socket.io/) is a real-time engine built on the top of WebSockets technology. It is a layer that makes web development easy and straightforward. Like every new thing nowadays, WebSockets comes with its own problems. Not every browser supports this technology. We may have problems with the protocol and missing events such as heartbeats, timeouts, or disconnection support. Thankfully, Socket.IO fixes these issues. It even provides fallbacks for the browsers that do not support WebSockets and goes with techniques such as long-polling.
Before making changes in our backend, we need to install the module. The engine is distributed in the same way as every other Node.js module; it is available via the ...
Read now
Unlock full access