The cause of
poor performance in
the Stop-and-Wait protocol:
The sender
must
wait for
an ACK frame
before the sender can
transmit
the next frame
Reasonwhy a
sender must
wait:
The Stop-and-Wait protocol will
only need to
deal with
One lostdata frame or
ACK frame
at any moment in time.
This simplifies the
analysis of its
correctnessgreatly
How to improve
the channel utilization of a communication protocol
The channel utilization can
be increased by
allowing the
sender to transmit a
multiply
of frameswithout having to
wait
for an ACK frame:
However:
This complicates
the task of
reliable data communication
greatly !!!
The Sliding Window protocol
Sliding Window:
Sliding Window =
an
automatic repeat request (ARQ) protocol,
in which:
the sending process continues to
send a number of frames specified
by a (send) window size even
without receiving an
acknowledgement (ACK) frame
from the receiver.