CS FundamentalsHardGATE CS · Product company CS fundamentals

A client sends SYN with seq = 7000. The server replies SYN-ACK with seq = 22000. The client then sends the final ACK carrying 100 bytes of data, and the server answers with 50 bytes of data. What are the seq and ack numbers on that server data segment?

  1. A. seq 22001, ack 7101
  2. B. seq 22000, ack 7100
  3. C. seq 22001, ack 7100
  4. D. seq 22050, ack 7101

Correct answer: A. seq 22001, ack 7101

SYN consumes one sequence number on each side: client data starts at 7001 and server data at 22001. The client's 100 bytes cover 7001–7100, so the server acknowledges 7101, and its own first data byte is 22001.

More Computer Networks questions

Exams that ask this topic