Home

TCP experiment

TCP CRC

A checksum-oriented TCP service where the client sends a payload and the server responds with a CRC8 result using the `0x07` polynomial.

Algorithm

CRC8

Moves beyond parity by demonstrating a stronger error-detection technique.

Test vector

Known correctness check

The repository tests the standard ASCII `123456789` CRC8 result.

Run locally

python projects/tcp-crc/server.py
python projects/tcp-crc/client.py --message "hello"

Where it fits

  • Use it after parity to show a more realistic integrity-check workflow.
  • Trace the difference between a human-readable payload and a calculated response.
  • Compare its logic to the checksum demo and notes in this site.