GBNs
GBNs stands for Go-Back-N Automatic Repeat reQuest, a sliding-window protocol used for reliable data transfer over unreliable networks. It enables a sender to transmit multiple frames without waiting for an individual acknowledgment, up to a predefined window size. The receiver, however, only acknowledges in-order receipt and does not buffer out-of-order frames; any out-of-order or corrupted frames are discarded. Frames are numbered within a finite sequence space, typically using modulo arithmetic.
In operation, the sender maintains two primary variables: a base (the oldest unacknowledged frame) and a next
To avoid ambiguity with wraparound, the window size is typically restricted to be less than the size