Skip to content

File transfer over asynchronous TCP connection via boost.asio

License

Notifications You must be signed in to change notification settings

alexandear/FileTransfer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

FileTransfer

Simple client-server apps to transfer file.

Requirements

Building for Windows

  • Install boost.asio.
  • Install MS Visual Studio 2015 with update 5.
  • Add BOOST_ROOT with boost's directory path to environment variables.
  • Open solution FileTransfer.sln and build.

Building for Linux

  • Install cmake.
  • Open terminal in project root directory:
mkdir build && cd build
cmake ..
make

Building for OS X

  • Install cmake:
brew install cmake
  • Install boost:
brew install boost
  • Open terminal in project root directory:
mkdir build && cd build
cmake ..
make

Running

  • Start server to accept files:
server <port> <outDirectory>
  • Start client to transfer file <transferFilePath>:
client <serverAddress> <serverPort> <transferFilePath>
  • Transferred file will be at <outDirectory>.

About

File transfer over asynchronous TCP connection via boost.asio

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published