Docsity

Two Protocols for Noisy Channels: Stop-and-Wait ARQ and Go-Back-N ARQ, Study notes of Computer Networks

Toggle sidebar
bg1
Q2. What are the two protocols for noisy channels?
Ans- The two protocols for noisy channels are-
1. Stop-and-Wait Automatic Repeat Request:-
The Stop-and-Wait Automatic Repeat Request (Stop-and-Wait ARQ), adds a
simple error control mechanism to the Stop-and-Wait Protocol. To detect and
correct corrupted frames, we need to add redundancy bits to our data frame. When
the frame arrives at the receiver site, it is checked and if it is corrupted, it is
silently discarded. The detection of errors in this protocol is manifested by the
silence of the receiver. The protocol specifies that frames need to be numbered.
This is done by using sequence numbers. A field is added to the data frame to
hold the sequence number of that frame.
pf2

Partial preview of the text

Download Two Protocols for Noisy Channels: Stop-and-Wait ARQ and Go-Back-N ARQ and more Study notes Computer Networks in PDF only on Docsity!

Q2. What are the two protocols for noisy channels? Ans- The two protocols for noisy channels are-

1. Stop-and-Wait Automatic Repeat Request:- The Stop-and-Wait Automatic Repeat Request (Stop-and-Wait ARQ), adds a simple error control mechanism to the Stop-and-Wait Protocol. To detect and correct corrupted frames, we need to add redundancy bits to our data frame. When the frame arrives at the receiver site, it is checked and if it is corrupted, it is silently discarded. The detection of errors in this protocol is manifested by the silence of the receiver. The protocol specifies that frames need to be numbered. This is done by using sequence numbers. A field is added to the data frame to hold the sequence number of that frame.

2. Go-Back-N Automatic Repeat Request:- In this protocol we can send several frames before receiving acknowledgments; we keep a copy of these frames until the acknowledgments arrive. Go-Back-N ARQ simplifies the process at the receiver site. The receiver keeps track of only one variable, and there is no need to buffer out-of-order frames; they are simply discarded. However, this protocol is very inefficient for a noisy link. In a noisy link a frame has a higher probability of damage, which means the resending of multiple frames. This resending uses up the bandwidth and slows down the transmission. Frames from a sending station are numbered sequentially. However, because we need to include the sequence number of each frame in the header, we need to set a limit.