edited by
4,534 views
0 votes
0 votes
In stop and wait protocol , every 4th packet is lost.If 8 packets are being sent, Find number of packets ?

Answer given is : 10

 

Shouldn't Acknowledgements considered as well , in such case answer should be 18 , Right ?
edited by

4 Answers

Best answer
5 votes
5 votes
Stop and Wait are easy to calculate- a resent happens only for the lost packet.

After 4 sends, we have a loss.

So, packet 4 lost, resent.

Packet 7 lost (since 4 was resent), resent.

So, totally 2 packets needs to be resent out of 8- 10 packets needs to be sent.

ACK won't be counted as packets as they are usually very very small.
selected by
0 votes
0 votes

We can always draw according the question and answer the related query.

Here it could be seen that every 4th packet is lost so we marked it and re send .

Effectively we need to total 10 transmission for sending 8 packets.

(According to stop and wait protocol)

0 votes
0 votes

1 2 3 4 4 5 6 7 7 8

Total  of 10 packet sent. In given question , they ask every 4th packet is lost.

Related questions

0 votes
0 votes
1 answer
3
Neyoa asked May 19, 2022
1,137 views
1. For a 1Gbps link, 10 ms prop. delay, 1000-bit packet, compute the utilization for: a. Stop and wait protocolb. Sliding window (window size=10)