GATE | Gate IT 2007 | Question 14

Consider a TCP connection in a state where there are no outstanding ACKs. The sender sends two segments back to back. The sequence numbers of the first and second segments are 230 and 290 respectively. The first segment was lost, but the second segment was received correctly by the receiver. Let X be the amount of data carried in the first segment (in bytes), and Y be the ACK number sent by the receiver.
The values of X and Y (in that order) are
(A) 60 and 290
(B) 230 and 291
(C) 60 and 231
(D) 60 and 230

Answer: (D)

Explanation: data in 1st segment is from byte number 230 to byte number 289, that is 60 bytes
As 1st is lost so, TCP will send ACK for the next in-order segment receiver is expecting. So it will be for 230.

Quiz of this Question

My Personal Notes arrow_drop_up
Article Tags :


Please write to us at to report any issue with the above content.