Home > OS >  TCP link
TCP link

Time:11-17

Client and server to establish TCP connection, the server is in establish state

The client has been disconnected for some reason, the program exits, but did not receive a FIN server end, cause server is still in the state of establish

Client application starts using the same IP + port port to TCP server, the behavior of the server at this time?

C the SRV
SYNC -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- & gt;
<-- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- RST?
The or & lt; -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- the SYNC + ACK
The or & lt; -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
no response

But what is clear is the SRV will close the current connection

CodePudding user response:

With what the back-end language?

CodePudding user response:

C, Linux
  • Related