Client 消息 Server
close()
------ FIN -------> FIN_WAIT1 CLOSE_WAIT <----- ACK ------- FIN_WAIT2 close() <------ FIN ------ TIME_WAIT LAST_ACK------ ACK ------->
CLOSED CLOSED本文共 246 字,大约阅读时间需要 1 分钟。
Client 消息 Server
close()
------ FIN -------> FIN_WAIT1 CLOSE_WAIT <----- ACK ------- FIN_WAIT2 close() <------ FIN ------ TIME_WAIT LAST_ACK------ ACK ------->
CLOSED CLOSED转载于:https://www.cnblogs.com/bloodofhero/archive/2013/01/31/2886523.html