Summary

In this chapter, we covered the basic theory behind WebSockets and why they matter to modern, real-time web applications. Building on this, we created a simple chat application by making use of the socket.io library in order to demonstrate real-time communication between several clients connected to the same server.

Get Learning Node.js for Mobile Application Development now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.