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)
source
share