mkdir build
cd build
cmake ..
make
You will find the sender & receiver executables in the '/build/bin' directory.
Make sure the sender & receiver share the same file and file offset. Note: the shared file should not be empty.
Sender:
./sender
Receiver:
./receiver
Sender:
./sender -f shared.txt -o offset
Receiver:
./receiver -f shared.txt -o offset