

- Trending Categories
Data Structure
Networking
RDBMS
Operating System
Java
iOS
HTML
CSS
Android
Python
C Programming
C++
C#
MongoDB
MySQL
Javascript
PHP
- Selected Reading
- UPSC IAS Exams Notes
- Developer's Best Practices
- Questions and Answers
- Effective Resume Writing
- HR Interview Questions
- Computer Glossary
- Who is Who
Explain difference between Stop and Wait protocol and Sliding Window protocol
Stop and Wait protocol
Stop and Wait protocol is a protocol for the flow control mechanism. In this protocol, the sender sends one frame at a time and waits for an acknowledgment from the receiver. Once acknowledged, the sender sends another frame to the receiver.
Sliding Window protocol
Stop and Wait protocol is also a protocol for the flow control mechanism. In this protocol, the sender sends multiple frames at a time and retransmit the frames which are found to be corrupted or damaged.
The following are some of the important differences between Stop and Wait protocol and Sliding Window protocol.
Sr. No. | Key | Stop and Wait protocol | Sliding Window protocol |
---|---|---|---|
1 | Mechanism | In Stop and Wait protocol, the sender sends a single frame and waits for an acknowledgment from the receiver. | In Sliding window protocol, the sender sends multiple frames at a time and retransmits the damaged frames. |
2 | Efficiency | Stop and Wait protocol is less efficient. | Sliding Window protocol is more efficient than Stop and Wait protocol. |
3 | Window Size | Sender's window size in Stop and Wait protocol is 1. | Sender's window size in Sliding Window protocol varies from 1 to n. |
4 | Sorting | Sorting of frames is not needed. | Sorting of frames helps to increase the efficiency of the protocol. |
5 | Efficiency | Stop and Wait protocol efficiency is formulated as 1/(1+2a) where a is a ratio of propagation delay vs transmission delay. | Sliding Window protocol efficiency is formulated as N/(1+2a) where N is no. of window frames and a is a ratio of propagation delay vs transmission delay. |
6 | Duplex | Stop and Wait protocol is half-duplex in nature. | Sliding Window protocol is full-duplex in nature. |
- Related Questions & Answers
- Difference between Stop and Wait protocol and Sliding Window protocol
- Sliding Window Protocol
- Sliding Window Protocol (Selective Repeat)
- A One-Bit Sliding Window Protocol
- What is three-bit sliding window protocol?
- A Simplex Stop-and-Wait Protocol for a Noisy Channel
- What is the Stop and Wait Protocol in Computer Network?
- A Simplex Stop-and-Wait Protocol for an Error-Free Channel
- What is a Sliding Window Protocol in Computer Network?
- Protocol and Protocol Hierarchies
- Difference between File Transfer Protocol (FTP) and Secure File Transfer Protocol (SFTP)
- Difference between Stop and Wait, GoBackN and Selective Repeat protocols
- Difference Between Go-Back-N and Selective Repeat Protocol
- What is difference between GET and POST method in HTTP protocol?
- What are the differences between Border Gateway Protocol (BGP) and Routing Information Protocol (RIP)?
Advertisements