Academic Integrity: tutoring, explanations, and feedback — we don’t complete graded work or submit on a student’s behalf.

6. sable for a largè systl y! In a network using the selective repeat protocol w

ID: 3742094 • Letter: 6

Question

6. sable for a largè systl y! In a network using the selective repeat protocol with m 4 and the sending window of size 8, the values of variable Sf= 2, Sn 7, and Rn 4, Packet 5 has already been acknowledged at the sender site; packets 5 & 6 are received out-of-order at the receiver site. Assume that network does not duplicate the packets. (m is the size of sequence number field in bits, Sf is 7. the first outstanding packet, Sn is the next packet to be sent and Rn is the next packet expected) a) What are the sequence numbers of pending data packets (in transit, corrupted, or lost)? b) What are the acknowledgment numbers of pending ACK packets (in transit, corrupted, or lost)? tha hasic model of FTP, Also explain the lifetimes of the two

Explanation / Answer

a)The value of Rn=4

It means the receiver is expecting packet 4

The value of Sf=2 and Sn=7

It means the packets 2,3,4,5,6 are transmitted

Receiver window is currently at sequence number 4 and packet 5 already been acknowledged at the sender site that is data is reached until packet 4. 5 and 6 has already arrived at the receiver side.

Hence, packets with sequence number 4 and 7 are in transit.

b)since packets 5 and 6 are received out of order at the receiver site that is why the receiver sends an ACK with sequence number 5.

Hence, acknowledgement number 4 and 6 are pending.