Physics, asked by sheetalral5343, 1 year ago

Difference between sliding window and stop and wait protocol in cn

Answers

Answered by writersparadise
4

A sliding window protocol supports the communication of an endless number of packets using fixed-sequence number of packets. This method is applicable in instances of reliable in-order delivery of packets.


A stop and wait protocol makes sure that there is no loss of information and that the data packets reach the destination in the correct order. The transmit and receive windows have sizes of one and greater than one respectively.
Answered by Chirpy
5

Sliding window protocol

It is a feature of packet-based data transmission protocols. It is used when reliable in-order delivery of packets is needed like in the Data Link Layer and the Transmission Control Protocol.


Stop and wait protocol

It is the simplest automatic repeat-request mechanism. In this the sender sends a single frame to the receiver and waits for an acknowledgement.

It is a special case of the sliding window protocol. The transmit and receive window sizes are equal to one and greater than one respectively.

Similar questions