| Alternating Bit Protocol |
Article Index for Alternating |
Shopping Protocol |
Website Links For Alternating |
Information AboutAlternating Bit Protocol |
| CATEGORIES ABOUT ALTERNATING BIT PROTOCOL | |
| network protocols | |
|
. When A sends a message, it sends it continuously, with the same sequence number, until it receives an acknowledgment from B that contains the same sequence number. When that happens, A complements (flips) the sequence number and starts transmitting the next message. When B receives a message that is not corrupted and has sequence number 0, it starts sending ACK0 and keeps doing so until it receives a valid message with number 1. Then it starts sending ACK1, etc. This means that A may still receive ACK0 when it is already transmitting messages with sequence number one. (And vice-versa.) It treats such messages as Negative-acknowledge Character s (NAKs). The simplest behaviour is to ignore them all and continue transmitting. The protocol may be initialized by sending bogus messages and acks with sequence number 1. The first message with sequence number 0 is a real message. SEE ALSO REFERENCES |
|
|