Socket.IO Tutorial

Socket.IO Tutorial

Socket.IO enables real-time bidirectional event-based communication. It works on every platform, browser or device, focusing equally on reliability and speed. Socket.IO is built on top of the WebSockets API(Client side) and Node.js. It is one of the most depended-upon library on npm.


This tutorial has been created for anyone who has a basic knowledge of HTML, Javascript and node.js work. After completing this tutorial you'll be able build moderately complex real-time websites, backends for you mobile applications and push notification systems.


You should have a basic knowledge of HTML, Javascript and Node.js. If you are not acquainted with these, we'll suggest you to go through their tutorials first. We'll be using Express to ease creating servers, it's not a prerequisite though.