Can someone explain how the MaxSeq Num affects the sliding window protocol?
Can someone explain how the MaxSeqNum affects the sliding window protocol?
For example, in this question below I don’t understand what it means.
- Suppose that we attempt to run the sliding window algorithm with SWS = RWS = 3 and with MaxSeqNum = 5. The Nth packet DATA[N] thus actually contains N mod 5 in its sequence number field. Give an example in which the algorithm becomes confused;that is, a scenario in which the receiver expects DATA and accepts DATA—which has the same transmitted sequence number—in its stead. No packets may arrive out of order. Note that this implies MaxSeqNum ≥ 6 is necessary as well as sufficient.