A connection timeout occurs only upon starting the TCP connection. This usually happens if the remote machine does not answer. This means that the server has been shut down, you used the wrong IP
A socket timeout is dedicated to monitor the continuous incoming data flow.
If the data flow is interrupted for the specified timeout the connection is regarded as stalled/broken.
Of course this only works with connections where data is received all the time.
A connection timeout occurs only upon starting the TCP connection. This usually happens if the remote machine does not answer. This means that the server has been shut down, you used the wrong IP
A socket timeout is dedicated to monitor the continuous incoming data flow.
If the data flow is interrupted for the specified timeout the connection is regarded as stalled/broken.
Of course this only works with connections where data is received all the time.