// Test for connect timeout. // Attempt to establish a connection. +.0 socket(..., SOCK_STREAM, IPPROTO_TCP) = 500 +.1 connect(500, ..., ...) = 0 // Send SYN packet. +.0 TCP > S seq 0(0) win 65535 // Retransmit SYN packet (1). +3 TCP > S seq 0(0) win 65535 // Retransmit SYN packet (2). +3 TCP > S seq 0(0) win 65535 // Retransmit SYN packet (3). +3 TCP > S seq 0(0) win 65535 // Retransmit SYN packet (4). +3 TCP > S seq 0(0) win 65535 // Fail to connect. +3 wait(500, ...) = ECONNREFUSED