![]() |
||||
French German Portuguese Spanish Russian |
||||
| Stop and wait Protocol | ||||
| Home > Data Communications > Stop and wait Protocol
Stop and Wait ProtocolProtocols in which the sender sends on frame and then waits for an acknowledgement
before proceeding are called stop-and-wait protocols. The following code
gives the example of a simplex stop-and-wait protocols. typedef enum (frame arrival) event type : Here the sender starts out by fetching a packet from the network layer, using it to construct a frame and sending it on its way. Only now, the sender must wait until an acknowledgement frame arrives before looping back and fetching the next packet from the network layer. The sending data link layer need not even inspect the incoming frame : there is only one possibility. After delivering a packet to the network layer, receiver 2 sends an acknowledgement frame back to the sender before entering the wait loop again. Because only the arrival of the frame back at the sender is important, not its contents, the receiver need not put any particular information in it. |
More Information Related Information |
|||
| Pulse Code Modulation | Fibre Optic Communication | ||||
|
||||