edited by
10,365 views
42 votes
42 votes

Consider a $TCP$ connection in a state where there are no outstanding $ACK$s. 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

  1. $60$ and $290$
  2. $230$ and $291$
  3. $60$ and $231$
  4. $60$ and $230$
edited by

4 Answers

Best answer
40 votes
40 votes

Answer is D.

Because it is said that the connection is $TCP$ and the sender has sent first two segments which is clear from the text "The sequence numbers of the first and second segments are $230$ and $290$ respectively." That means there must be $3$ Way handshaking that has been done before the connection has been established and when sender has sent SYN packet then reciever must have ACKED him with next packet .In response to it reciever only recieved only $1$ packet so he will come to know that 1$^{st}$ packet has been lost and again he will send ACK for lost packet 

edited by
14 votes
14 votes
ans d)
6 votes
6 votes

The following picture makes it explain clearly

TOT is the time out timer which will retransmit the given packet if its ack is not receieved to us within its timeframe.

So now Receiver has received the packet of 290 header. It will then wait for sometime for A to retransmit the packet and meanwhile when it received packet of 230 header it will be then sending it the acknowledge of 230.

Answer:

Related questions