Guest
Public paste!

Untitled

By: a guest | Mar 13th, 2010 | Syntax: None | Size: 0.69 KB | Hits: 88 | Expires: Never
Copy text to clipboard
  1. Flow control vs. congestion control:
  2.  
  3. Flow control means preventing the source from sending data that the
  4. sink will end up dropping because it runs out of buffer space.
  5. This is fairly easy with a sliding window protocol--just make sure
  6. the source's window is no larger than the free space in the sink's
  7. buffer. TCP does this by letting the sink advertise its free buffer
  8. space in the window field of the acks.
  9.  
  10. Congestion control means preventing (or trying to prevent) the
  11. source from sending data that will end up getting dropped by a
  12. router because its queue is full. This is more complicated, because
  13. packets from different sources travelling different paths can
  14. converge on the same queue.