4,940 views
5 5 votes
Consider a sliding window protocol that uses Selective Repeat , the sender sliding window size is 32 .
The sequence number of the frame to be sent after sending 200 frames ______
After receiving first 100 frames the acknowledgement number that is piggybacked by the receiver along with data frame  is _______

1 Answer

Best answer
6 6 votes

In selective Repeat Protocol:
Sender window size = 2n-1 where n is the number of bits in sequence Number field
now, given that WS = 32
So, 2n-1 =32
So ,n=6bits
So, we have 64 sequence numbers available(0...to .....63)
Now, to send 200 frames, it has to wrap around because of limited sequence numbers
0 to 63 --->64 frames are sent
again 0...to......63----->64+64=128 frames are sent
0----to-----63 ---->128+64 = 192 frames are
for 193th frame seq number is again 0 hence for 200th frame seq number. will be 7 after this seq number. is 8

2. Now, after sending 100 frames
0 to 63--->for 64 frames
0 to 35 ---> 64 + 36 = 100th frame are sent
so ack number of 100th frame = 36

selected by
Position:
Show:

Related questions

0 0 votes
1 answers 1 answer
596
596 views
BhavdeepSinghNijhawa asked Jan 14, 2025
596 views
Consider a sliding window protocol with RWS = SWS = 10, a very large set of possible sequence numbers (assume no wrapping), and in-order packet arrivals. Which of the fol...
1 1 vote
1 1 answer
568
568 views
shekabhi.as asked Sep 10, 2024
568 views
When a packet is lost in SR protocol when is it retransmitted? In other words what will be the order of packets, if any.
0 0 votes
0 0 answers
500
500 views
Mahesh_K asked Sep 19, 2024
500 views
Assume a network with a round-trip time (RTT) of 100 ms and a bandwidth-delay product of 1000 bits. Calculate the optimal window size for both Selective Repeat and Go-Bac...