I want to know what happens to a TCP connection when a computer goes to sleep.
Is there any differences between Linux and Windows in aspect of realization of TCP and handling the sleep mode?
So, the question is: is the connection terminating on sleep mode? If not – what happens?
The networking session terminates when computer goes into sleep mode, due to the fact the networking interface(s) will also shut down, hence no transmission to transmit or receive. TCP is reliable connection and expects other party to respond to handshake process, ACK and other request and sleeping node won’t be able to do that.