当前位置:网站首页>Time in TCP state_ The role of wait?

Time in TCP state_ The role of wait?

2022-07-06 10:19:00 it_ xiangqiang



TCP In state time_wait The role of


Preface

The client receives... From the server FIN Enter this state after the message , This is not a direct entry into CLOSED state , Also need to wait for a time timer to set the time .

There are two reasons to do this

1. Ensure that the last acknowledgment segment reaches . If B received A Confirmation message segment sent , Then it will resend the connection release request message segment ,A Waiting for a while is to deal with this situation .

2. Possible “ Invalid connection request message segment ”, In order to prevent this message segment from appearing outside this connection , Need to wait for a while .



原网站

版权声明
本文为[it_ xiangqiang]所创,转载请带上原文链接,感谢
https://yzsam.com/2022/02/202202131716099454.html