60 likes | 176 Views
RFC 793 State machine study. Simultaneous close sequence Page 39, Figure 14. Page:39 Figure. 14. Simultaneous close sequence. TCP A. TCP B. SEQ=100. Should_ACK =300. Should_ACK =100. SEQ=300. 1. ESTABLISHED ESTABLISHED. Page:39 Figure. 14.
E N D
Simultaneous close sequence Page 39, Figure 14
Page:39 Figure. 14 Simultaneous close sequence TCP A TCP B SEQ=100 Should_ACK=300 Should_ACK=100 SEQ=300 1. ESTABLISHED ESTABLISHED
Page:39 Figure. 14 Simultaneous close sequence TCP A TCP B SEQ=101 SEQ=100 Should_ACK=301 Should_ACK=300 Should_ACK=100 Should_ACK=101 SEQ=301 SEQ=300 SEQ=100CTL=FIN ACK=300 DATA= SEQ=300CTL=FIN ACK=100 DATA= 2. (Close) (Close) FIN-WAIT-1 --> <SEQ=100><ACK=300><CTL=FIN,ACK> ... FIN-WAIT-1 <-- <SEQ=300><ACK=100><CTL=FIN,ACK> <-- 0 ... <SEQ=100><ACK=300><CTL=FIN,ACK> --> 0
Page:39 Figure. 14 Simultaneous close sequence TCP A TCP B SEQ=101 SEQ=101 Should_ACK=301 Should_ACK=301 Should_ACK=101 Should_ACK=101 SEQ=301 SEQ=301 SEQ=101CTL= ACK=301 DATA= SEQ=301CTL= ACK=101 DATA= 3. CLOSING --> <SEQ=101><ACK=301><CTL=ACK> ... CLOSING <-- <SEQ=301><ACK=101><CTL=ACK> <-- 0 ... <SEQ=101><ACK=301><CTL=ACK> --> 0
Page:39 Figure. 14 Simultaneous close sequence TCP A TCP B SEQ=101 Should_ACK=NA Should_ACK=301 Should_ACK=NA Should_ACK=101 SEQ=NA SEQ=301 SEQ=NA 4. TIME-WAIT TIME-WAIT (2 MSL) (2 MSL) CLOSED CLOSED