Computer Networks
Opening a connection…
Initializing Sorting Algorithms...
Sorting
Trees
Graphs
Preparing interactive visualizations...
Computer Networks
Opening a connection…
One HTTP request gains a header per layer going down, crosses the wire as bits, and is unwrapped going up
Engineers still say "layer 2 switch" and "layer 7 load balancer" — OSI numbers are the shared vocabulary. But the internet runs the TCP/IP suite, which folds OSI's top three layers into the application and its bottom two into the link. The starred entries show why: TLS and QUIC do not sit cleanly in any one OSI box.
Header inspector — fills in while the request moves through a stack (acts 2, 3 and 5).
Getting bytes from a browser to a server means solving several unrelated problems at once: encoding the request, splitting it into pieces and recovering losses, finding a route across many networks, and putting signals on a cable. Layering gives each problem its own owner. The OSI model names seven layers, numbered from the cable up.
The TCP/IP stack
Active Recall
A switch receives a frame. Which header field does it use to decide where the frame goes?