What TCP promises, and what it costs
IP delivers packets that may be lost, duplicated, reordered, or corrupted. TCP, whose scattered specifications were finally consolidated into RFC 9293 in 2022, offers four guarantees on top of that:
- A byte stream, not messages. Write 100 bytes then 200 bytes, and the reader may see one 300-byte read. TCP has no record boundaries.
- Ordered delivery. Bytes arrive in the order they were sent, or not at all.
- Reliability. Anything lost is retransmitted until acknowledged or the connection dies.
- Rate control. The sender is throttled both by what the receiver can absorb and by what the network can carry.
Every guarantee has a price. Ordering means a lost packet stalls everything queued behind it even if that data already arrived. Reliability means waiting for timers. Rate control means the sender starts slow and probes upward rather than sending at line rate. Almost every mystery about internet performance is one of these guarantees doing its job.

