git clone https://github.com/subado/udp-packet-recovery.git
cd udp-packet-recovery/
cmake --preset release
cd build/release
make
Command to run server:
./udp-packet-recovery -s -p 50002 -f out -4 -v
Command to run client:
./udp-packet-recovery -c -p 50000 -r 50002 -f input -4 127.0.0.1 -m -n 1000 -v
Using program with loopback device may result to corruption in server out file, due to the fact that Linux turns off IP checksumming on the loopback device for performance.