Visual RFC.
ALL RFCs / RFC 9293
Read the RFC ↗
RFC 9293 / THE TCP MODEL

A reliable byte stream

01

TCP offers applications an ordered, reliable stream of bytes over a network that may lose, duplicate, or reorder packets.

RFC 9293 · § 2.2EXAMPLE
4 / 4
04
Deliver ordered bytes.

The application sees a stream, with no preserved write boundaries.

A reliable byte streamTwo writes are shown as spans on a byte stream, split into different segment ranges and rejoined in order.APPLICATION WRITESsendABCDEFwrite 1write 2TCP SEGMENTSABCDEFACK: receivedRECEIVED STREAMreadABCDEFABCDEF delivered in order; write boundaries disappear

Key idea: TCP preserves bytes, not application messages.

Terms

Look up a term in the glossary ↗

Rules & examples
  • Each direction has its own byte sequence space.
  • TCP uses acknowledgments and retransmission to recover from loss.
  • One application write need not correspond to one segment or one application read.

Reliability is subject to connection failure. Applications need their own framing and must handle errors; TCP cannot promise delivery after every failure.

Sources
Protocol participantThreat or exceptionProtocol controlSimplified drawings · precise section references
New to this? Start hereA quick picture + helpful background

A message needs an address.

Think of a packet as a small addressed envelope. Devices pass it onward; transport protocols decide what delivery promises an application gets.

Helpful first, if these ideas are unfamiliar

These pictures are analogies to help you learn. The linked RFC explains the actual rules.

Related RFCs and changes

“Updates” changes part of an earlier RFC. “Obsoletes” replaces it. This list shows selected related documents.

All chapters in RFC 9293

Drawing view

Scroll the drawing to see every part. Playback controls stay above it.

RFC 9700 / CHAPTERS

Chapters

For full details, tables, algorithms, and exceptions, read the original RFC.

RFC status and corrections ↗