Professional Documents
Culture Documents
CS306 - MOD - 2 Ktuassist - in
CS306 - MOD - 2 Ktuassist - in
Advantages
*Network Utilization
*Data can be transmitted in both directions.
*Several frames can be in transit at a time.
Disadvantages
*complexity and hardware capacity
*The window can hold n-1 frames at either end. * If an error is discovered in a data frame,
therefore, a minimum of n-1 frame may be cut indicating that it has been corrupted in transit, a
before an acknowledgment is required NAK frame is returned. NAK frames, which are
AUTOMATIC REPEAT REQUEST (ARQ) not numbered, tell the sender to retransmit the
also known as Automatic Repeat Query, is an last frame sent
error-control method for data transmission that * The sending device is equipped with a timer. If
uses acknowledgements (messages sent by the an expected acknowledgment is not received
receiver indicating that it has correctly received within an allotted time period, the sender
a data frame or packet) and timeouts (specified assumes that the last data frame was lost in
periods of time allowed to elapse before an transit and sends it again
acknowledgment is to be received) to achieve
reliable data transmission over an unreliable
service
If the sender does not receive an
acknowledgment before the timeout. it usually
re-transmits the frame/packet until the sender
receives an acknowledgment or exceeds a
predefined number of re-transmissions. The
receiver will send back an ARQ message to the
transmitter to indicate that the last block should
be retransmitted
2: Sliding Window ARQ: Disadvantages of Selective-Repeat ARQ
1: Go-Back-n ARQ: This is a specific instance of i) More complexity at sender and receiver
the automatic repeat request (ARQ) protocol, in ii) Each frame must be acknowledged
which the sending process continues. to Send a individually
number of frames specified by a window size iii) Receiver may receive frames out of sequence
even without receiving an acknowledgement
(ACK) packet from the receiver.
It is a special case of the general sliding window
protocol with the transmit window size of N and
receive window size of 1.