Read OSS

socketio/socket.io

2 articles

Prerequisites

01

Socket.IO Monorepo Architecture: A Map of the Codebase

A guided tour of Socket.IO's 12-package monorepo, explaining the two-layer architecture, the three different 'Socket' classes, and how to navigate the codebase efficiently.

02

Engine.IO: Transport Negotiation, Upgrades, and Heartbeats

A deep dive into Engine.IO's connection lifecycle: handshake protocol, three transport implementations, probe-based upgrades, and the heartbeat system.