Sequence & acknowledgment
04Sequence numbers identify byte positions. A cumulative acknowledgment names the next byte expected in order.
DIAGRAMRead RFC section 3.4 ↗
RFC 9293 · § 3.4EXAMPLE
4 / 4
04
Report the next expected byte.
This cumulative acknowledgment covers all bytes through 1100.
Key idea: ACK N covers the bytes before N.
Rules & examples
ACK N covers the bytes before N.
- Sequence numbers wrap modulo 2³²; comparisons must account for wraparound.
- SYN and FIN each occupy one sequence number; ACK alone does not.
- Duplicate data must not be delivered twice to the application.
The example sequence numbers are illustrative. They are not guidance for selecting initial sequence numbers.
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.
Read the updated RFC section ↗