Skip to main content

Posts

Showing posts with the label The Crazy Programmer Stop and Wait Protocol Stop and Wait Protocol The Crazy Programmer

Stop and Wait Protocol Nitish Agarwal The Crazy Programmer

In this article, we will take a look at the Stop and Wait protocol of a computer networking system. In order to understand the mechanism of this protocol, we will first have a brief understanding of the error control mechanism. The Stop and Wait Protocol is a sub-category of the error control mechanism. The error control mechanism ensures error-free receiving and sending of data from one place to another. It prevents the corruption of data by any external source. As the name ‘Stop and Wait’ suggests, in this mechanism, the sender sends an instruction to the receiver and stops sending further instructions until it waits for the acknowledgment from the receiver. The Stop and Wait protocol is a flow control protocol in which the data is transmitted over noiseless channels. The transmission is unidirectional in nature, i.e., either the data is sent or it is received at a time. The data sent by the sender is in the form of discrete packets and only one data packet is sent at a time. Sim