# Flow Control

This applet animates the interaction between the sending application, the TCP send buffer, the TCP receive buffer, and the receiving application. The receiving application reads chunks of bytes at random times. When the receive buffer becomes full, the TCP receiver advertises a receive window of 0. As described in the text, the sender then continues to send segments with one byte of data.

Notes:

1. Host B consumes data in 2Kbyte chunks at random times.

2. When Host A receives an acknowledgment with WIN=0, Host A sends a packet with one byte of data. It is assumed for simplicity, that this one byte is not comsumed by the receiver.

This applet was coded by Hyojin Kim in 1997 as part of course work at the University of Pennsylvania.