TLDRsocket.io is a library that enables real-time, duplex communication between client and the server. It contains Websocket which is a protocol that provides a full-duplex and low-latency channel between the server and the browser via socket.io. There will be a socket.emit event which will be listened by both client and server.

4m read time From usmansaleem29.medium.com
Post cover image
Table of contents
IntroductionImplementation in Node.js:Conclusion

Sort: