C-MODEM

C-Modem[1] is a protocol driver developed by Lavio Pareschi (Rio de Janeiro) in 1989, that works similarly to and better than ZMODEM . It includes a whole new file transfer protocol, built around the idea of crash recovery, ease of use and optimal performance. C-Modem provides reliable file transmission even in poor conditions, as it adapts immediately to any errors that may occur (even in the so-called 'error free' modems).

Major features of the C-Modem communications protocol include:

  • Transmission Crash Recovery[2]

Being interrupted by any condition, the file transmitted is saved with the extension file .BAD until the last byte is received correctly. In the next connection/transmission, the file will be completed automatically.

  • Mutable Data: crc blocks on data blocks of variable size

Depending on velocity and errors during transmission, as well as line conditions, the size of data-blocks between crc-blocks will freely vary from 32 to 4096 bytes. This reduces the amount of control bytes added to the transmission and minimizes data repetition. The result is an excellent true transfer rate.

The transmitter doesn't stop every block to receive useless answers. The transmitter occurs without pauses between blocks. The receptor only warns when something wrong happens.

  • Exact Size

While not accurate in terms of bits (it rounded up), the file was accurate in terms of bytes, and would have exactly the same size as the original file that was uploaded or downloaded. To its credit, it did not add bytes to complete blocks of fixed size.

References

  1. Driscoll, Kevin (2022-04-19), "Recalling the Modem World", The Modem World, Yale University Press, pp. 1–28, doi:10.2307/j.ctv2c3k1ww.3, ISBN 9780300248142, JSTOR j.ctv2c3k1ww.3
  2. Härder, Theo (2009). "Crash Recovery". Encyclopedia of Database Systems. pp. 517–522. doi:10.1007/978-0-387-39940-9_88. ISBN 978-0-387-35544-3.


This article is issued from Wikipedia. The text is licensed under Creative Commons - Attribution - Sharealike. Additional terms may apply for the media files.