0
$\begingroup$

After reading an answer at this link:

https://serverfault.com/questions/503345/three-duplicate-acknowledgementss

I am confused. Do ACK values repeat when a packet is lost or when an out of sequence packet is received? For example in the diagram, the ACK values are same at the 12th and 13th segment. However, there's a drastic change in the window size. What exactly is the link?

I also read that selective acknowledgments could be used in segement 8. I know what they do by definition but I don't understand why we could use them here in segment 8 particularly. Any ideas? If it's because of the same SEQ & ACK numbers in the corresponding segments, it would be the same for segment 10, right?

$\endgroup$
1
  • $\begingroup$ You previously posted this question yesterday: cs.stackexchange.com/q/123629/755. Please don't delete and re-post your question. Instead, you can edit your question if you need to make a change, or (once you have participated here enough) provide a bounty to draw more attention to it. Thank you! $\endgroup$
    – D.W.
    Apr 6 '20 at 16:49
1
$\begingroup$

In simple words: ack is the way of the receiver to tell you "i got data until some num now send me from this num",now if a packet is lost it means the reciver will not get its data.

If i understood your question right then we can see the acks in the 12th and 13th packets are identical,the reason is because not data was sent between them to the reciver

Now why the window size is bigger?its simply because the receiver reads the data in a certain speed and the buffer now has more space in it

So th reason they have same acks its because no data was sent to the receiver And the reason why the window size is bigger is because the receiver reads from the buffer

$\endgroup$
4
  • $\begingroup$ I also read that selective acknowledgments could be used in segement 8. I know what they do by definition but I don't understand why we could use them here in segment 8 particularly. Any ideas? If it's because of the same SEQ & ACK numbers in the corresponding segments, it would be the same for segment 10, right? $\endgroup$
    – x89
    Apr 9 '20 at 2:56
  • $\begingroup$ Notice that the 6th packet is lost the 8th packet is an ack that says "i got data until 2230" andin the 9th packet seems like the sender resends the lost packet,how do i know that?its because you can see the sequence number in 2230 just like the 6th one who was lost the 10th packet is an ack that says "i got data until 3848" $\endgroup$
    – Noname
    Apr 9 '20 at 7:44
  • $\begingroup$ Makes sense. In this case, SACK can also be used in segement 14th right? with a left edge of 5830 and right edge of 6631. $\endgroup$
    – x89
    Apr 10 '20 at 2:17
  • $\begingroup$ oh no wait, 14th is from client to server $\endgroup$
    – x89
    Apr 10 '20 at 2:29

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.