Sliding Window Protocol

Implementing flow control mechanisms in C++
sliding-window-protocol-4


How It Works


The sender sends packets as long as the window size permits.
The receiver simulates the acknowledgment process, allowing the window to slide forward.
Synchronization is managed using mutexes and condition variables to ensure the sender waits when the window is full and continues when acknowledgments are received.