Caffeinated Coder
Book an appointment
Lesson 25 · Transport

Ports and sockets

An IP address gets a message to the right machine, but a machine runs many programs at once. Follow two browser tabs and a mail app on one laptop as they talk to one server: each gets its own port, each connection gets its own 5-tuple, and the reply finds its way back to the one program that asked.

8 min10 steps5 questionsBeginner
Fig 25 · Interactive
Loading figure…
or ← →

Quiz Unlocks after the last step.