Graceful close
10A FIN ends one direction after its earlier bytes. The peer can still send in the other direction.
DIAGRAMRead RFC section 3.6 ↗
RFC 9293 · § 3.6EXAMPLE
5 / 5
05
Retain closing state.
This helps handle retransmitted FINs and separates connection incarnations.
Key idea: Close the stream in order.
Rules & examples
Close the stream in order.
- FIN occupies sequence space and is acknowledged.
- A half-close can leave the reverse direction usable.
- The endpoint that completes the active-close path normally waits in TIME-WAIT for 2 MSL.
FIN and ACK can be combined with other traffic. The familiar four arrows are an illustrative case, not a required packet count.
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 ↗