Computer networks notes
Ports & Sockets
How one machine runs many services, and what a "connection" really is. Every section is a drawn page beside a clear written explanation, about 7 minutes in all.
- Chapter 28 of 31
- About 7 minutes
- 6 sections
Sign in with Google or GitHub and you land straight on this page. DSA comes with the all labs plan and every ChaiCode batch.

In this chapter
- Ports are doors on a machine
- Well-known ports
- Port ranges
- A socket = IP + port
- A connection is a 4-tuple
- Public vs private IP (recap)
Next chapters
Read the whole chapter
Sign in and the chapter opens with every drawn page, and all 32 computer networks chapters beside it.
DSA comes with the all labs plan and every ChaiCode batch.