TCP 连接:如果客户端不确认服务器 FIN 会发生什么

TCP Connection: What happens if client does not ACK server FIN

为了解释我的问题,我尝试对场景进行涂鸦。请记住,我自己一直在深入研究 TCP,因此图表可能不太可靠。如果是这样,请告诉我。

问题

如果通过 TCP 与服务器建立开放连接的客户端不确认服务器发送的 FIN(见 #1),会发生什么情况?

可能的答案

FIN 将再次发送,与数据段完全一样,受相同的重试计数器和超时限制。

If the client wants to keep the connection open after the server sent FIN can the client do anything to tell the server to keep it open? i.e. Ask for some more data.

没有。一旦主机发送了 FIN,它就不能再发送任何数据。然而,对等方可以向另一个方向发送,除非主机实际上已经关闭了套接字。