Lecture 18-TCP Flow Control
Lecture 18-TCP Flow Control
Lecture 18
TCP Flow Control
Lecture 18:TCP Flow Control
TCP Flow-Control
• It is a speed-matching service
– matching the rate at which the sender is sending
against the rate at which the receiving application is
reading.
Lecture 18:TCP Flow Control
TCP Flow-Control
TCP Flow-Control
• Suppose that Host A is sending a large file to Host B
over a TCP connection.
• Host B allocates a receive buffer to this connection;
denote its size by RcvBuffer.
– The app reads from this buffer
Lecture 18:TCP Flow Control
TCP Flow-Control – Receiver
Side
window
Sent and acked Sent but not acked Not yet sent
Next to be sent
12
Lecture 18:TCP Flow Control
Solution
• Host A continues to send segments with one data byte
when B’s receive window is zero.