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

Popular posts from this blog

php - What is the difference between $_SERVER['PATH_INFO'] and $_SERVER['ORIG_PATH_INFO']? -

fortran - Function return type mismatch -

queue - mq_receive: message too long -