Preface

Socket.IO is an excellent library for real-time messaging between the client side and the server side. Whether you want to create a chat room in your browser, reload your hybrid mobile application, or push fresh data to an internal dashboard, this book will show you how to do it.

What this book covers

Chapter 1, Wiring It Up, provides a quick introduction to Socket.IO. It tells you how to get up and running with a Node server. This chapter concludes with debugging tips for the server and the client.

Chapter 2, Creating Real-Time Dashboards, talks about how to stream data from the server to the client. It covers how to emit MongoDB data and how to handle Socket.IO connection timeouts.

Chapter 3, Having Two-Way Conversations, provides several ...

Get Socket.IO Cookbook 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.