SLIDING
WINDOW ARQ
Among
several popular mechanisms for error control two protocols are important:
Go-back-n ARQ
Selective Reject ARQ
Three
features are added to sliding window flow control to allow for the
retransmission of
the
lost or the damaged frames:
o The sending device keeps copies of the
transmitted frames until all of them have been
acknowledged
o In
addition to ACK
frames, receiver also
has the option
of NAK frames,
if data has
been
received damaged
o Because sliding window is a continuous TX
mechanism, both ACK and NAK frames
must
be numbered for identification
ƒ ACK frames carry the number of the next
frame expected
• ACK 5 tells sender that all frames up to
frame 5 are received
ƒ NAK frames carry the number of the
damaged frame itself
• If data frames 4 and 5 are damaged, NAK
4 and NAK 5 must
be
sent
o Like sender in stop-and wait ARQ, the
sliding window ARQ is also equipped with a
timer
in the sender to deal with lost ACKs
™ Go Back n ARQ
In Go
Back n ARQ,
if one frame
is lost or
damaged, all frames
sent since last
frame
acknowledged
are retransmitted
Go
Back n- Damaged Frame
|
Thursday, September 18, 2014
Error Detection And Correction Methods-Cont
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment