Reading Class 17 - meron-401n14/seattle-javascript-401n14 GitHub Wiki

Socket.io

Divided in to two parts 1.Client side: it is the library that runs inside the browser 2.Server side: it is the library for Node.js Both webSocket vs Socket.io are event driven libraries

Key features of Socket.io:

  • It helps in broadcasting to multiple sockets at a time and handles the connection transparently
  • It works on all platform, server or device ensuring the equality, reliability, and speed.
  • It automatically upgrades the requirement to WebSocket if needed.
  • It is a custom real-time transport protocol implementation on top of other products
  • It requires both libraries to be used Client side as well as a server -side library