I implemeted a file transfer through a websocket. The websocket is supported by Luna that is my open project.
cd ~/LunaFileTransfer/dependency/Luna
git submodule init
git submodule update
mkdir build
cd build
cmake ..
makecd ~/LunaFileTransfer
git submodule init
git submodule update
mkdir build
cd build
cmake ..
makecd ./LunaFileTransfer/build
./bin/LunaFileTransferServerFor running LunaFileTransfer client, you have to input an IP where the LunaFileTransferServer is located and a file path.
cd ./LunaFileTransfer/build
./bin/LunaFileTransfer localhost ./LunaFileTransfer/README.md