Difference between Stop and Wait protocol and Sliding Window protocol
Both Stop and Wait protocol and Sliding Window protocol are the techniques to the solution of flow control handling. The main difference between Stop-and-wait protocol and Sliding window protocol is that in Stop-and-Wait Protocol, sender send one frame and wait for the acknowledgment from receiver side whereas in sliding window protocol, sender send more than one frames to the receiver side and re-transmit the frame which are/is damaged or suspected.
Difference between Stop and Wait protocol and Sliding Window protocol:
| S.NO | Stop-and-Wait Protocol | Sliding Window Protocol |
|---|---|---|
| 1. | In Stop-and-Wait Protocol, sender send one frame and wait for the acknowledgment from receiver side. | In sliding window protocol, sender send more than one frames to the receiver side and re-transmit the frame which are/is damaged or suspected. |
| 2. | Efficiency of Stop-and-Wait Protocol is less. | Efficiency of sliding window protocol is more than Stop-and-Wait Protocol. |
| 3. | Sender window size of Stop-and-Wait Protocol is 1. | Sender window size of sliding window protocol is N. |
| 4. | Receiver window size of Stop-and-Wait Protocol is 1. | Receiver window size of sliding window protocol may 1 or N. |
| 5. | In Stop-and-Wait Protocol, sorting is not necessary. | In sliding window protocol, sorting may be or may not be necessary. |
| 6. | Efficiency of Stop-and-Wait Protocol is
1/(1+2*a) |
Efficiency of sliding window protocol is
N/(1+2*a) |
| 7. | Stop-and-Wait Protocol is half duplex. | Sliding window protocol is full duplex. |
Recommended Posts:
- Efficiency of Stop and Wait Protocol
- Sliding Window Protocol | Set 3 (Selective Repeat)
- Sliding Window Protocol | Set 1 (Sender Side)
- Sliding Window Protocol | Set 2 (Receiver Side)
- Difference between Serial Line Internet Protocol (SLIP) and Point-to-Point Protocol (PPP)
- Difference between Stop and Wait, GoBackN and Selective Repeat
- Difference between File Transfer Protocol (FTP) and Secure File Transfer Protocol (SFTP)
- Hot Standby Router Protocol (HSRP) and Virtual Router Redundancy Protocol (VRRP)
- Difference between Stateless and Stateful Protocol
- Difference Between Go-Back-N and Selective Repeat Protocol
- Stop and Wait ARQ
- Cisco Discovery Protocol (CDP) and Link Layer Discovery Protocol (LLDP) in Data Link Layer
- Difference Between High-level Data Link Control (HDLC) and Point-to-Point Protocol (PPP)
- Sliding Window protocols Summary With Questions
- TACACS+ Protocol
If you like GeeksforGeeks and would like to contribute, you can also write an article using contribute.geeksforgeeks.org or mail your article to contribute@geeksforgeeks.org. See your article appearing on the GeeksforGeeks main page and help other Geeks.
Please Improve this article if you find anything incorrect by clicking on the "Improve Article" button below.




