Data Link Control: Mcgraw-Hill ©the Mcgraw-Hill Companies, Inc., 2004
Data Link Control: Mcgraw-Hill ©the Mcgraw-Hill Companies, Inc., 2004
Usually Error and flow control protocols are combined together to provide
reliable data transfer service called data link control
Stop-and-Wait ARQ
Go-Back-N ARQ
Last transmitted
frame Expected frame
to be received
Frame 1
A is ready to receive
frame 0
Possibly acknowledged
Operation
Sender in case of damaged or lost frame retransmits
Receiver can accept out of order frames and buffer (store) them
them only
If the receiver receives an out-of-order, error free frame, it will
ACK 0
0 1 2 3 012 3 0 1 2 3 012 3
11.71
McGraw-Hill ©The McGraw-Hill Companies, Inc., 2004
Figure 11.21 Selective Repeat ARQ, window size
11.59
McGraw-Hill ©The McGraw-Hill Companies, Inc., 2004
Performance
More efficient than the other two protocols because it
reduces number of retransmissions for noisy links
The receiver and transmitter processing logic is more
complex
Receiver must be able to reinsert the retransmitted (lost,
delayed, damaged) frame in the proper sequence after it
arrives
The sender should be able to send out of order frame
when requested by the sender using NAK
Needs more memory than Go-Back-N ARQ at the
receiver side. The receiver memory is large if the window
size is large