What happens when I send a packet?
The together journey: one `send()` through the socket API, the kernel’s socket buffer, the transport, IP, the device queue and the NIC — across the network — and the mirror image on the receiving host up to a thread waking in `recv()`. It is the reason OS and Networking are taught as one map.
Inputsend(sock, buf, len)`send()` returned 1024 — what has actually happened, and what still has to happen before another process wakes up in `recv()`?
ZoomThe application’s view: bytes go in here, bytes come out there. Reliable, ordered, and — as far as the code can see — instantaneous.
- ↓
- ↓
Click a node to see what happens there, what state changes, how it fails, and which lesson explains it. Then zoom to the next level and watch the arrow you clicked expand into its own chain — no step is magic.