Systems · 2025
UDP Transfer Engine
A reliable transport layer built on top of UDP that still delivers bytes in order when packets are dropped, duplicated, corrupted, delayed, or reordered.
C++ · UDP · networking
Why it is interesting
UDP gives you almost none of the reliability guarantees applications usually expect. I wanted to build those guarantees myself rather than relying on TCP.
How it works
The protocol uses custom packet formats, sliding windows, sequence numbers, acknowledgments, timeouts, retransmissions, integrity checks, and receiver-side ordering.
I tested it under simulated loss, corruption, delay, duplication, and reordering.
Outcome
The system maintained reliable in-order transfer at roughly 11.6 Mb/s under the test conditions.