Skip to content

Latest commit

 

History

History
41 lines (29 loc) · 1.17 KB

README.md

File metadata and controls

41 lines (29 loc) · 1.17 KB

C++ Client Server with Boost.Asio

Based on socket-programming-in-cpp-using-boost-asio-tcp-server-and-client and code from Boost documentation and StackOverflow of cource :)

To build this client-server I used conan.io

Excuse me that without tests and -Wall -Wextra -pedantic flags.

How to build and run

At first run

vagrant up
vagrant ssh

And then inside Vagrant

sh run_in_vagrant.sh

How to use Programming options

./asio_client --host_ip "127.0.0.1" --host_port 1234 --input_data_file "example_input_file.txt"

Possible problems on travis.ci

  • installing something with pip - permission denied
  • it use pip2 instead pip3
  • no such command pip3 - pip3: command not found
  • no python3

TODO

  • correct signal handling. Hope that asio error hanling closes all it's stuff itself
  • On client read message from file
  • Check how to pipe data from file into client and does it necesasry
  • Just tell client <host_url> <host_port> <input_data_file_name>