A TCP segment with sequence number 5000 carries 200 bytes of data. What acknowledgement number confirms it, if all earlier data has arrived?
Correct answer A. 5200
Explanation
The data occupies bytes numbered 5000 to 5199, and the cumulative ACK names the next byte expected, which is 5200. The value 5199 is only the last byte received. Adding one to the sequence number applies to SYN and FIN flags and not to data, where the increment equals the data length.
Answer checked How we write and check questions
Discussion