Error Types and Detection
Over a message switching facility, such as the ARPA network, all transmission errors can be divided into two classes -- those that result in the loss of an expected message, and those that result in the the picking up of an unexpected message. A single bit inversion can cause errors of both types. Error detection can therefore be divided into two components -- one which attempts to determine if the message just received is appropriate at that time, and another which attempts to determine if a message has been lost.
The detection of garbled input messages has been adequately covered by classical coding ( elsewhere, mistakenly termed 'communication' ) theory. Internal message consistency can be determined through the use parity bits, checksum fields, or any of the various coding techniques available for adding some measure of redundancy. With relative simplicity, the likelyhood of an undetected error of this type can be made small enough so as to become inconsequential. Because it is adequately covered elsewhere, no further discussion shall be given here.
The detection of a message's external consistency, whether or not it can possibly follow the message that arrived just before it, can also be straight forward. Sequence numbers, if used, can be easily checked. A modulo N sequence field will allow detection of up to N-1 successive message losses. If several concurrent links are in use then sequencing can be maintained for each link. Multi-link single sequence schemes are more complicated and, although used between IMPs for transmission of message packets, they shall be ignored here.
The detection by a receiving host of a lost message can not be determined directly, but rather must be inferred from other observations. Any automatic correction scheme must be prepared to handle the possibility of faulty inference. Message loss would normally be inferred upon the arrival of a message that should follow the one expected. It might also be inferred by the fact that the message expected is long overdue.