Build a Chat app with Nodejs and Socket.io

A typical library to use that allows real-time, event-based communication in Nodejs and browser-based applications is Socket.io. It is a library that uses the implementation of WebSockets protocol and offers some advantages over the protocol itself. These advantages are provided by adding features such as Socket.io library supports broadcasting over a network and as well as connections established using this library are supported in the presence of proxies and load balancers. WebSocket is a protocol that does not support any of this.


This is a companion discussion topic for the original entry at https://blog.crowdbotics.com/p/5d35f04d-0148-4a78-8021-0810795baf57/