Run make
in terminal in the root directory of the project.
Then run ./server
to start server. It will be executed in daemon mode and will be ready to service a clients.
To run client application do ./client <ip> <port> <file_path>
. By default ip is 127.0.0.1 and port is 80.
<file_path>
is a path to the text file you need to send to the server.