Welcome to the CSC Q&A.
Get help and give help!
Write great code!
It is our choices... that show what we truly are, far more than our abilities.


+16 votes
asked in CSC335_Spring2019 by (8 points)
edited by

1 Answer

+11 votes
Best answer

STOP-AND-WAIT cons: Only one packet in flight between sender and receiver, susceptible to late acknowledgments that could duplicate the data if there was a time-out.

SLIDING WINDOW pros: Implements retransmit-on-timeout policy, handles multiple packets sent back and forth at a time.

It seems to me that sliding window has a similar concept to stop-and-wait. However, it is more efficient (maybe ?).

answered by (8 points)
selected by