How must-zeus0036/mini-diod works
mini-diod is a small, one-way UDP text-transfer tool. The sender reads keyboard lines, prefixes each with a big-endian sequence number, and sends datagrams; the receiver checks sequence continuity and prints received text without replying. The README documents this workflow, and the excerpts show its implementation. The standalone src/main.rs is unrelated to the sender/receiver workflow; no additional runtime subsystem is evidenced.
Main entry points: sender.rs Read and send · receiver.rs Receive and check
Components 4
Sending
- Read and send
src/bin/sender.rs
Receiving
- Receive and check
src/bin/receiver.rs
Other components
- Keyboard operator
- Receiver terminal
Connections 3
- Keyboard operator → Read and send: enters lines
README.md - Read and send → Receive and check: sends UDP packets
README.md - Receive and check → Receiver terminal: prints text and warnings
src/bin/receiver.rs