edited by
1,266 views
1 votes
1 votes
What is send as ack in sliding window? The next packet which the sender want to received or the packet right now sender received?

I think the sender send the ack as the packet it has got right now. ?

In sliding window protocol, sender's window size is $'n'.$ Sender sent first $'n$' frames. Then he received first acknowledgment as ACK $'n'$. What frame(s) has receiver accepted$?$

$(A)$ Frame $n$

$(B)$ Frame $n-1$

$(C)$ Frames $0$ to $n$

$(D)$ Frames $0$ to $n-1$
edited by

2 Answers

Best answer
3 votes
3 votes
In sliding window concept the receiver sends the ACK to sender with packet number which it is expecting it from the sender and the sender will assume that before that packet number which he recieved as and ACK from reciever has been succesfully accepted .

EX. if reciever send ACK =4 then upto 0 to 3 reciever has accepted packet from sender. So if ACK =n then from "0 to (n-1)"  reciever has accepted frame from sender and sender has to send frame from frame number "n"

So answer is D
selected by
0 votes
0 votes
If this is stop and wait and go back and arq than we can say d is correct.

But if this is selective repeat than B is also correct because out of order packet accepted in selective repeat.

Related questions

1 votes
1 votes
1 answer
4
sripo asked Jan 5, 2019
596 views
I am unable to understand their explanation,can anyone explain it in a better way?