Penguin

Differences between current version and predecessor to the previous major change of FIN.

Other diffs: Previous Revision, Previous Author, or view the Annotated Edit History

Newer page: version 3 Last edited on Thursday, March 31, 2005 8:55:48 am by JohnMcPherson
Older page: version 1 Last edited on Wednesday, September 24, 2003 4:17:20 am by FooBar Revert
@@ -1,3 +1,6 @@
-Foo(u)Bar - F'd Up Beyond All Recognition  
+__FIN__ - a flag set in a [TCP] packet indicating that one conversant in an current communication has finished sending data.  
  
-FIN - a flag set in a TCP packet indicating that one conversant in an current communication has finished sending data. An ACK flag will (almost) always be piggybacked onto a TCP packet with a FIN set. A recipient of a FIN packet MUST acknowledge the receipt of the FIN by ACKing the received packet and incrementing the sequence number by one (SeqNum+1). Either side of the communicating pair can terminate their end of the communication first. The TCP State of the machine SENDING the FIN will change to Fin _wait1 once the FIN has been sent. Upon receipt of an ACK, the TCP State of the sending machine will change to Fin _wait2 (indicating that the communication is HALF -closed.) Upon receipt of a final FIN from the other conversant, the state will change to Closing. Finally, once the final FIN has been ACK'd, the state will change to Closed. ( See RFC0793 - Transmission Control Protocol - for more information)
+An [ ACK] flag will (almost) always be piggybacked onto a [ TCP] packet with a FIN set. A recipient of a FIN packet MUST acknowledge the receipt of the FIN by ACKing the received packet and incrementing the sequence number by one (~ SeqNum+1). Either side of the communicating pair can terminate their end of the communication first. The [ TCP] State of the machine SENDING the FIN will change to FIN _WAIT1 once the FIN has been sent. Upon receipt of an [ ACK] , the [ TCP] State of the sending machine will change to FIN _WAIT2 (indicating that the communication is half -closed.) Upon receipt of a final FIN from the other conversant, the state will change to Closing. Finally, once the final FIN has been ACK'd, the state will change to Closed.  
+  
+----  
+ See also TcpStates, and RFC:0793 - Transmission Control Protocol.