Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

I understand how sliding window protocol makes the network reliable. But how can it control the flow of data?

share|improve this question
2  
Jake - can I ask you to re-read our FAQ and look at the other questions on this site as I'm not convinced there's a perfect fit going on here - you seem to ask a lot of homework-style questions and can't have used any other search systems first before asking. –  Chopper3 Jan 27 '11 at 8:35
    
It's not a protocol, it's a mechanism. –  joeqwerty Jan 27 '11 at 10:40
    
Also, it doesn't make the network reliable. It controls the flow of packets between 2 hosts. It may indirectly make the connection between those 2 hosts more reliable by reducing or eliminating packet drops because of a full recieve side buffer. –  joeqwerty Jan 27 '11 at 11:41
add comment

1 Answer

Both sides of the conversation set the window size they're willing to allow. That by itself helps control flow. As one side gets congested with data it negotiates a smaller window, which slows things down. Congestion clears, it opens the window up again.

Congestion in this case is usually buffers on the receiving side of the data transfer, not actual network congestion en-route.

share|improve this answer
    
The reciever sets the window size. Both sides advertise their window size but only the reciever adjusts it. The sender doesn't as it has no need to as it's not recieveing data. –  joeqwerty Jan 27 '11 at 10:40
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

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