Frontend Labs
⋯
🗓️

Week 5: Networking Concepts + TCP Basics (Days 31–37)

8 chapters · 14 min of reading

Phase: 2 — Networking Foundations + L4 Goal: Move from application code to the network. Build a TCP server, understand the OSI model from code, and implement the bidirectional proxy that is the foundation of every L4 load balancer and security gateway.


Background in this wiki: the OSI guide (one request through all seven layers); TCP/IP guide Ch 19 (ports and sockets), Ch 20 (UDP), Ch 21–23 (handshake, reliability, closing) with the dialcheck, stream, udpping, and closewait labs; Linux guide Ch 73 (goroutines vs threads) and Ch 78 (file descriptors and the netpoller).

Contents

8 chapters, one page each. Prefer one long page? Read the whole book on one page.

  1. Day 31 — The OSI Model in Practice2 min
  2. Day 32 — TCP Fundamentals2 min
  3. Day 33 — TCP Server Patterns1 min
  4. Day 34 — UDP3 min
  5. Day 35 — I/O Patterns for Networking2 min
  6. Day 36 — Connection Pools2 min
  7. Day 37 — DNS in Go2 min
  8. Week 5 Mini Project: TCP Proxy with Traffic Inspector2 min

Generated from week5.md · 8 Oct 2026 16:36