Hello everyone I am a for students from China, here is my problem, my English is not good, this is done by google translate.
Lab Topology
Environment
RHEL6.3 server + sock 0.3.2
Host 1.1.1.1 Entry sock -v -b 12345 2.2.2.2 43415
Host 2.2.2.2 Entry sock -v -b sock -v -y 3000 -b 43415 1.1.1.1 12345
//#: -y n #ms for SO_SNDTIMEO (send timeout)
Theoretical Results That RFC Can Be Described Within The Framework of
Come From
RFC 793(Page 37) and 《The TCP/IP Guide Version 3.0》(page 886 “Simultaneous Connection Termination”)
The truth of the matter was quite different .
Only Host 2.2.2.2 Reply ACK。Several attempts Failure。Does not appear, RFC 793 described phenomenon。
Doubt?
①
No.3 and No.4 Time Interval 0.04900300-0.01900100 = 0.030002======>TCP Simultaneous Open Result Full
No.19 and No.20 Time Interval 56.2792190-56.2762190 = 0.003======>TCP Simultaneous Connection Result Bad
I Do Not Know Where The Wrong?
②Guess!?
If Host 1.1.1.1 The first receive the ACK ,From CLOSING—>TIME-WAIT,Once go in TIME-WAIT Status ,TCP Stop Send Package(ACK) ?
Hoping to be answered here
Sincerely Blessing
Regards