A simple protocol in data link layer for transmission of data in Unidirectional way.
Size: 3.83 MB
Language: en
Added: Jun 07, 2021
Slides: 10 pages
Slide Content
STOP-AND-WAIT
PROTOCOL
VENKATA SREERAM
Stop & Wait Protocol
Learning Agenda for this Seminar1 2 3
Understanding the working of
simple stop-and-wait Protocol
Understanding the problems
with stop-and-wait Protocol
And some other concepts too...
Types of Protocols
Noiseless Channels Noisy Channels
Simplest
Stop and Wait
Selective Repeat ARQ
Go-Back-N ARQ
Stop and wait ARQ
Stop and wait Protocol is data link
layer protocol for transmission of
frames over noiseless channels.
It provides Undirectional data
Transmission with flow control
facilities. but, without wrror control
facilities.
The idea of stop-and-wait protocol
is straight protocol.
After Transmitting one frame , the
sender waits for an
Acknowledgement before
transmiting the next frame.
Stop & wait
Primitives of stop-and-wait Protocol
Send one
Data Packet
at a Time
1
Send the next
packet only
after receiving
ACK from the
Previous
2
Receive and
consume
Data Packet
1
After
consuming
packets, ACK
need to be sent
( Flow Control )
2
Sender Side Receiver Side
Rules for Transmission the Data
www.venkatasreeram.live
Protocol
The sender has to wait for the
Acknowledgement from the receiver
before sending another Data.
At a time only one Data Packet have
to be shared from the Sender
Problems
Suddenly, if the data has broken
during the Passing, the Receiver
was not able to receive the data.
The Receiver was in WAIT situation
& has been waiting for the Data at
infinite time
The sender was in STOP situation,
since the sender doesn't received
any acknowledgement from the
receiver.
So, If any Data broken - that might
be a big problem in this Protocol
Disadvantages
It is a data-link layer protocol which is used for
transmitting the data over the noiseless
channels. It provides unidirectional data
transmission which means that either sending
or receiving of data will take place at a time. It
provides flow-control mechanism but does
not provide any error control mechanism.
stop-and-wait