A mechanism used to determine whether transmission errors have occurred and, if so, to correct those errors.
Some programs or transmission protocols simply request a retransmission of the affected block of data if an error is detected. More complex protocols attempt to both detect and determine at the receiving end what the correct transmission should have been.
See also checksum; cyclical redundancy check; forward error correction; Hamming code; parity.