Both Go-Back-N and Selective Repeat protocols are sliding window protocols.
Following are the important differences between Go-Back-N and Selective Repeat Protocols.
Sr. No. | Key | Go-Back-N | Selective Repeat |
---|---|---|---|
1 | Definition | In Go-Back-N if a sent frame is found suspected or damaged then all the frames are retransmitted till the last packet. | In Selective Repeat, only the suspected or damaged frames are retransmitted. |
2 | Sender Window Size | Sender Window is of size N. | Sender Window size is same as N. |
3 | Receiver Window Size | Receiver Window Size is 1. | Receiver Window Size is N. |
4 | Complexity | Go-Back-N is easier to implement. | In Selective Repeat, receiver window needs to sort the frames. |
5 | Efficiency | Efficiency of Go-Back-N = N / (1 + 2a). | Efficiency of Selective Repeat = N / (1 + 2a). |
6 | Acknowledgement | Acknowledgement type is cumulative. | Acknowledgement type is individual. |