Stop and Wait Notes 1
Stop and Wait Notes 1
Used in Connection-oriented
communication.
It offers error and flow control
It is used in Data Link and Transport
Layers
Stop and Wait ARQ mainly implements
Sliding Window Protocol concept with
Window Size 1
Useful Terms:
Sender:
Receiver:
next →← prev
Point-01:
Point-02:
Point-03:
If acknowledgement sent by the receiver gets lost,
then-
Sender will keep waiting for the
acknowledgement for infinite time.
Receiver will keep waiting for another data packet
for infinite time.
Important Notes-
Note-01:
Note-02:
Note-03:
Working-
NOTE
For any sliding window protocol to work without any
problem,
the following condition must be satisfied-
Available Sequence Numbers >= Sender Window
Size + Receiver Window Size
Thus,
Minimum number of sequence numbers required in
Stop and Wait ARQ = 2.
The two sequence numbers used are 0 and 1.
Step-01:
Step-03:
Step-04:
Step-05:
Conclusion-
Step-01:
Sender sends a data packet with sequence number-
0 to the receiver.
Step-02:
Step-03:
Step-04:
Step-06:
A negative
There is no concept of acknowledgement is sent
negative by the receiver if the data
acknowledgements. packet is found to be
corrupt.
Explanation-