Protocols
Saved & recent

Protocol stack

Also called: TCP/IP stack, Internet protocol suite

A protocol stack combines protocols with different responsibilities. In the Internet model, application protocols describe useful exchanges, transport protocols connect application endpoints, IP carries packets across networks, and link protocols move data across a particular local connection. These are cooperating layers, not four separate journeys.

One possible stack is HTTP/1.1 over TCP over IP over Ethernet. Other choices fit different needs: HTTP/3 uses QUIC over UDP. A stack diagram is a simplified map of responsibilities; it does not imply every application uses the same protocols or that every layer adds a fixed-size header.

Read first
Protocol
Related
Encapsulation, TCP, HTTP/3, Ethernet
Further reading
IETF RFC 1122 — Requirements for Internet Hosts — Communication Layers
Ethernet IP TCP HTTP/1.1 Ethernet IP TCP HTTP/1.1 internet transport application sender receiver logicalpeers physical link down up
Example without TLS. Each layer supplies a service to the layer above it. Data goes down the sender’s stack, across the one physical link, and up the receiver’s; the dashed peer relationships are logical.

View in the full Protocols collection