A TCP window is a flow control mechanism defining the amount of data (in bytes) a sender can transmit before receiving an acknowledgment (ACK) from the receiver. It acts as a buffer size indicator, ensuring the sender does not overwhelm the receiver's capacity, thus preventing congestion.
In this project we have shown following Simulation for the same.