go-dojo
learn go · earn mastery
phase 2 · 2.4-networking-serialization

TCP + line-delimited JSON — the Maelstrom twin

prereqs 1.2-types-structs2.2-net-http-server
review intervals 3d 7d 21d 60d drills tcp-echo

The lesson for this task hasn't been written yet. The mastery criteria below is the shortest description of what you'll own when this task is green.

Mastery criteria

- TCP echo server; two processes exchanging line-delimited JSON over TCP
- bufio.Scanner tuned for long lines (understand the default 64KB limit)
- Explain what Phase 5 changes — same protocol, different transport (stdio)

Verify

Run from your go-dojo repo root:

go-dojo verify 2.4-networking-serialization

This runs the task's go test suite in exercises/phase-2/2.4-networking-serialization/, commits the attempt to .go-dojo/attempts/, and updates your mastery.