Station needs to send a message consisting of packets to Station using a sliding window (window size ) and go-back- error control strategy. All packets are ready and immediately available for transmission. If every th packet that transmits gets lost (but no acks from ever get lost), then what is the number of packets that will transmit for sending the message to ?
View worked solution
Answer: C
In Go-Back- (GBN) with a window size of , if a packet is lost, the receiver discards all subsequent packets. Upon timeout, the sender must retransmit the lost packet and all subsequent outstanding packets in the window.
Since every transmission is lost, let us trace the transmissions step-by-step:
- Tx 1: Packet 1 (Received successfully)
- Tx 2: Packet 2 (Received successfully)
- Tx 3: Packet 3 (Received successfully)
- Tx 4: Packet 4 (Received successfully)
- Tx 5: Packet 5 (LOST)
- Tx 6: Packet 6 (Discarded by receiver, expecting 5)
- Tx 7: Packet 7 (Discarded by receiver, expecting 5)
- Tx 8: Packet 5 (Received successfully)
- Tx 9: Packet 6 (Received successfully)
- Tx 10: Packet 7 (LOST)
- Tx 11: Packet 8 (Discarded by receiver, expecting 7)
- Tx 12: Packet 9 (Discarded by receiver, expecting 7)
- Tx 13: Packet 7 (Received successfully)
- Tx 14: Packet 8 (Received successfully)
- Tx 15: Packet 9 (LOST)
- Tx 16: Packet 9 (Received successfully)
[Timeout for Packet 5 occurs. Sender retransmits from Packet 5]
[Timeout for Packet 7 occurs. Sender retransmits from Packet 7]
[Timeout for Packet 9 occurs. Sender retransmits Packet 9]
Thus, a total of 16 transmissions are required to successfully send all 9 packets.
Free practice · Your answers on this page are not saved.
