Socket.io is platform independent web framework which allows us to program real time bidrectional communication betweeen various devices. Using Socket.io we can build some real time application such as Live chat OR real time analytics of shares etc.

I have already covered the “event emitter” of Node.js and in this tutorial i am going to focus on covering Socket.io with simple application.

How it works ?

Socket.io is available for Node.js and also available as minified JS for client side integration so not only from Server you can emit and recieve events from Client side as well.

https://codeforgeek.com/2015/03/real-time-app-socket-io/

Advertisements