Welcome to the CSC Q&A, on our server named in honor of Ada Lovelace. Write great code! Get help and give help!
It is our choices... that show what we truly are, far more than our abilities.

Categories

+16 votes
asked in CSC335_Spring2019 by (1 point)
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 (1 point)
selected by
...