Visual RFC.
ALL RFCs / RFC 9293
Read the RFC ↗
RFC 9293 / CONNECTION LIFECYCLE

Graceful close

10

A FIN ends one direction after its earlier bytes. The peer can still send in the other direction.

RFC 9293 · § 3.6EXAMPLE
5 / 5
05
Retain closing state.

This helps handle retransmitted FINs and separates connection incarnations.

Graceful closeEach direction closes separately; EOF and the active closer’s TIME-WAIT appear at their proper stages.Endpoint AEndpoint BFINACKFINACKApp sees EOFTIME-WAITCLOSEDWait 2 MSL on this active-close path

Key idea: Close the stream in order.

Terms

Look up a term in the glossary ↗

Rules & examples
  • 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.

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 ↗