CS FundamentalsHardGATE CS · Product-company placement

A client's SYN carries sequence number 5000. After the handshake it sends three data segments of 200, 300 and 100 bytes and then a FIN, all received in order. What acknowledgement number does the server send to acknowledge the FIN?

  1. A. 5601
  2. B. 602
  3. C. 5602
  4. D. 5600

Correct answer: C. 5602

The SYN consumes 5000, data occupies 5001–5600, and the FIN takes 5601, so ACK = 5602. 5601 forgets that a FIN consumes a sequence number, 602 is the relative ACK a capture tool shows, and 5600 also forgets the SYN.

More Computer Networks questions

Exams that ask this topic