How does a socket connection timeout work?

As I understand it, the socket connection timeout is controlled by the TCP transport, which uses Retransmission (RTO) timeouts. if ack does not return before the timeout expires, the connection request (Sync) will be retransmitted and the RTO will be doubled.

So, what is the connection timeout functionality in Java juice when we call Socket.connect(endpoint, connectTimeout)

+5
source share
1 answer

So, what is the functionality of the connection timeout in the Java socket when we call Socket.connect (endpoint, connectTimeout)

- ; , , , .. ( ) , .

+5

All Articles