What if a TCP handshake segment is lost?

后端 未结 2 1791
你的背包
你的背包 2020-12-23 21:44

In TCP 3-way handshake, 3 segments will be sent (SYN, SYN ACK, ACK). What if the third segment(ACK) is lost? Is the sender going to resend the segment or give up establishin

2条回答
  •  暗喜
    暗喜 (楼主)
    2020-12-23 22:34

    I am not an expert on this particular situation, but I suspect what will happen is the client will think it is connected but the server will not. If the client tries to send data to the server, the server will reject it and send a RST packet to the client so it can reset its "connection".

提交回复
热议问题