java - How does the socket connect timeout work? -
to understanding, socket connection timeout controlled tcp transport, uses retransmission timeouts (rtos). if the ack not come before timer expires, connect request (sync) retransmitted, , rto doubled.
so functionality of connection timeout in java socket when call socket.connect(endpoint, connecttimeout)
so functionality of connection timeout in java socket when call socket.connect(endpoint, connecttimeout)
it sets overall timeout connection have been established; i.e. says how long application prepared wait of packet-level timeouts, retransmissions, etc succeed (or not) before giving up.
Comments
Post a Comment