Introduction to Socket.IO

Real-time | Bi-directional | Client-Server | HTML5

Short-polling vs Long-poling ( Image Source: https://hpbn.co/xmlhttprequest/ )

WebSocket

( Image Source: https://www.pubnub.com/blog/2015-01-05-websockets-vs-rest-api-understanding-the-difference/ )

Socket.IO

Initialize Connection

Bidirectional Communication

Real-time Chat Application

Advanced…

Namespaces & Rooms

Namespace: /chat

WebRTC

( Image Source: http://webrtc-security.github.io/ )

Full Stack Developer | BiBi

Get the Medium app