spex — streaming protocol experiment.
A toy file-transfer protocol over UDP that demonstrates chunking, hashing, out-of-order delivery, and selective retransmission.
spex-core— chunking, hashing, file metadata, and reassemblyspex-net— sender and receiver tasks built on top oftokio::net::UdpSocketspex-cli—spexcommand line entry point
cargo buildIn one terminal, start the receiver:
cargo run -p spex-cli -- recv --bind 127.0.0.1:7002 --peer 127.0.0.1:7001 --out out.binIn another, send a file:
cargo run -p spex-cli -- send --bind 127.0.0.1:7001 --peer 127.0.0.1:7002 --file in.binUse -v for info logs and -vv for debug logs.
cargo test --allMIT — see LICENSE.