Sender buffer Occupied part of the buffer sent and Empty to be sent, not acknowledged filled by process can be sent immediately acknowledged recycled 121121020g208207206205204203202201200 Next byte to be sent CSIE NTUT TANAN Figure 12-7
CSIE, NTUT, TAIWAN 19 Figure 12-7 Sender Buffer
Receiver window Empty, to receive Consumed and more bytes from network Occupied part of the buffer recycle 199198197196195194 Receiver window the size of the receiver buffer the number of occupied locations CSIE NTUT TANAN Figure 12-8
CSIE, NTUT, TAIWAN 20 Figure 12-8 Receiver Window Receiver window = the size of the receiver buffer – the number of occupied locations
Sender buffer and sender window Size receiver window 2111210209208207206205204203202201200 0 Next byte to be sent CSIE NTUT TANAN Figure 12-9
CSIE, NTUT, TAIWAN 21 Figure 12-9 Sender Buffer and Sender Window
Sliding the sender window Size receiver window |211210209208|207206205204203202201|200 a. Before Size receiver window 2111210209208207206205204203 b. After CSIE NTUT TANAN Figure 12-10
CSIE, NTUT, TAIWAN 22 Figure 12-10 Sliding the Sender Window
Expanding the Sender Window Size receiver window 215214213212211210209208207206205 CSIE NTUT TANAN Figure 12-11
CSIE, NTUT, TAIWAN 23 Figure 12-11 Expanding the Sender Window