// Tests for successful completion of an accept system call, when a data-carrying, SYN segment is received. // Accept a connection. +.0 socket(..., SOCK_STREAM, IPPROTO_TCP) = 500 +.0 bind(500, ..., ...) = 0 +.0 listen(500, 1) = 0 +.2 accept(500, ..., ...) = 0 // Receive a data-carrying SYN segment. +.2 TCP < S seq 0(1000) win 65535 // Send SYN-ACK segment, that does not ack the received data. +.0 TCP > S. seq 0(0) ack 1 win 65535 // Receive ACK on SYN-ACK segment. +.2 TCP < . seq 1(0) ack 1 win 65535 // Succeed to accept connection. +.0 wait(500, ...) = 0