12.4 Socket.IO
Socket.IO is an abstraction library for real-time-enabled web applications. The goal of this library is to enable cross-browser real-time web applications that aren’t tied to a specific communication protocol. For this purpose, Socket.IO supports a whole range of communication options that allow for a bidirectional connection between client and server. Socket.IO consists of two components: a server component and a file the client must load to use the library. Socket.IO is completely implemented in JavaScript, which means that you don’t need any additional plug-ins in your browser. On the server side, Socket.IO is available as an npm package. Once installed and integrated, Socket.IO is responsible for negotiating the type of ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access