Nt1310 Unit 3 Lab Report

581 Words3 Pages
The basic principle behind the operation of a sliding window protocol is that the sender has a window size of frames which it can keep in its buffer at any particular time. The sender sends the frames sequentially without waiting for acknowledgements from the receiver. However the sender will only remove frames from the buffer (or empty its window) until it receives acknowledgements from the receiver. So if the sender has a window size of 7, containing frames 0 through 6, it will contain these frames until the time it receives acknowledgements from the receiver. The receiver may send acknowledgments after any frame, meaning if it sends an ACK frame after receiving 4 frames, the sender will remove frames 0 through 3 from its buffer and slide its window to fit in new frames in it.…show more content…
So if the sequence numbers are 0 through 3, i.e. 4 sequence numbers, the maximum window size for the sender should be 3, meaning the first window will contain frames 0 through 2. We will see why this is important by considering the case of a sequencing of frames 0 through 7. The sequence numbers are as follows: 0, 1, 2, 3, 4, 5, 6, 7, 0, 1….. For such a sequence the maximum window size of the sender should be 7, i.e. the initial window should contain frames 0 through 6. To understand this, let’s go through a case in which the window size is equal to the sequence number, meaning the initial window contains frames 0 through

More about Nt1310 Unit 3 Lab Report

Open Document