// Test for blocking connect. // Establish a connection. +.0 socket(..., SOCK_STREAM, IPPROTO_TCP) = 500 +.2 connect(500, ..., ...) = 0 // Send SYN packet. +.0 TCP > S seq 0(0) win 65535 // Receive SYN-ACK packet. +.1 TCP < S. seq 0(0) ack 1 win 65535 // Send ACK on SYN-ACK packet. +.0 TCP > . seq 1(0) ack 1 win 65535 // Succeed to establish connection. +.0 wait(500, ...) = 0