OSI Model — Deep Explorer

OSI ↔ TCP/IP

L4 Transport

PDU: Segment (TCP) / Datagram (UDP)

The delivery service. Layer 4 takes your message and chops it into numbered segments, hands them to the network, and — if you're using TCP — guarantees every piece arrives, in order, with nothing missing. It uses port numbers to make sure data reaches the right program (port 443 → your browser's HTTPS, not your email). The alternative, UDP, skips the guarantees for raw speed.

End-to-end delivery of the complete message between processes. Segmentation & reassembly, port-based multiplexing, and (TCP) reliability, ordering, flow & congestion control.

Addressing
Port numbers (0–65535)
TCP/IP Layer
Transport
Functions
Segmentation & ReassemblyBreak messages into segments with per-segment headers; reassemble at destination.
Service-Point (Port) AddressingPort number ensures delivery to the correct process.
Flow & Error ControlAcknowledge success, retransmit on error (TCP).
Devices
L4 load balancerStateful L4 firewallNAT device (port translation)
Protocols · 4
TCPUDPQUICSCTP
Encapsulation
Prepends TCP or UDP header (source/dest port + reliability fields for TCP). Payload = session data.
Cross-Layer Notes
QUICL4 transport with embedded L6 encryption (TLS 1.3). Backs HTTP/3.
IPsecStraddles L3/L4: transport mode protects the L4 payload; tunnel mode wraps the whole L3 packet.
Header Decoders
Transmission Control Protocol, Src Port: 49152, Dst Port: 443, Flags: SYN

TCP Header20 bytes minimum. Reliability lives here. · Hover or tap a field to inspect it.

0
4
8
12
16
20
24
28
Source Port16b
Destination Port16b
Sequence Number32b
Acknowledgment Number32b
Data Offset4b
Reserved6b
Flags6b
Window Size16b
Checksum16b
Urgent Pointer16b
Options0–320b