December 2018
Intermediate to advanced
552 pages
12h 18m
English
To compile this code, we leverage the same CMakeLists.txt file that we have been using for the other examples: https://github.com/PacktPublishing/Hands-On-System-Programming-with-CPP/blob/master/Chapter10/CMakeLists.txt.
With this code in place, we can compile this code using the following:
> git clone https://github.com/PacktPublishing/Hands-On-System-Programming-with-CPP.git> cd Hands-On-System-Programming-with-CPP/Chapter10/> mkdir build> cd build> cmake ..> make
To execute the server, run the following:
> ./example4_server
To execute the client, open a new terminal and run the following:
> cd Hands-On-System-Programming-with-CPP/Chapter10/build> ./example4_client
On the server side, the following is output to
Read now
Unlock full access