in Ubuntu
The kernel timeout only applies if the connection is orphaned. If the connection is still attached to a socket, the program that owns that socket is responsible for timing out the shutdown of the connection. Likely it has called shutdown and is waiting for the connection to shut down cleanly. The application can wait as long as […]
in Ubuntu
Server creates listening socket, binds it, etc. Server calls accept Client calls connect creating the connection (TCP state on both sides moves to ESTABLISHED send / recv / send / recv / etc (state still ESTABLISHED) Client calls close; client OS sends FIN packet to server (client OS moves socket state to FIN_WAIT1) Server OS sends ACK to acknowledge the client machine’s FIN (server OS moves socket state to CLOSE_WAIT; client OS moves socket state to FIN_WAIT2) […]
You must be logged in to post a comment.