index#index#map

Low-Level Atlas III Index

Eight branches across seven phases, building one real-time chat from raw TCP up to a compliant WebSocket, with two clients speaking the same wire format. This atlas assumes Low-Level Atlas I (the machine model, C, pointers, assembly, the toolchain, an OS) and Low-Level Atlas II (real systems in C — a shell, a malloc, an HTTP server, a database engine) are already done. Nothing here re-explains sockets as file descriptors or how an event loop works at the syscall level; everything here builds on that.

01 · TCP from Scratch

  • TCP Fundamentals — the three-way handshake, Nagle, socket buffers, backpressure, half-close.

02 · Design Your Own Protocol

03 · WebSocket, for Real

04 · Concurrency at Scale

05 · Messaging Architecture

06 · Two Clients, One Protocol

  • Client in C — a terminal client, non-blocking I/O, reconnection with backoff.
  • Client in TypeScript — the same protocol, high-level runtime, direct ergonomics comparison.

★ · Always Active

  • Network Craftsmanship — mock sockets, frame fuzzing, Wireshark/tcpdump, connection observability, TDD for async code.

Reference