tcpHighCumAck.pkt 772 B

123456789101112131415161718192021222324
  1. // SUT is a server, i.e. it opens a socket, binds and listens. The peer connects to the server.
  2. // The peer send 3 messages. The first and third are acked. The ACK is repeated 3 times.
  3. // A fast retransmission is expected.
  4. 0.000 socket(..., SOCK_STREAM, IPPROTO_TCP) = 3
  5. 0.000 setsockopt(3, SOL_SOCKET, SO_REUSEADDR, [1], 4) = 0
  6. 0.000 bind(3, ..., ...) = 0
  7. 0.000 listen(3, 1) = 0
  8. 0.100 < S 0:0(0) win 32792 <mss 1000,nop, wscale 6, nop, nop, sackOK>
  9. 0.100 > S. 0:0(0) ack 1 <...>
  10. 0.150 < . 1:1(0) ack 1 win 257
  11. 0.150 accept(3, ..., ...) = 4
  12. 0.200 write(4, ..., 1000) = 1000
  13. 0.200 > . 1:1001(1000) ack 1
  14. 0.210 < . 1:1(0) ack 2001 win 257
  15. +0 > . 1001:1001(0) ack 1
  16. 0.310 close(4) = 0
  17. +0 > F. 1001:1001(0) ack 1
  18. +0 < F. 1:1(0) ack 1002 win 257
  19. +0 > . 1002:1002(0) ack 2