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/Chapter11/CMakeLists.txt.
With this in place, we can compile the code using the following:
> git clone https://github.com/PacktPublishing/Hands-On-System-Programming-with-CPP.git> cd Hands-On-System-Programming-with-CPP/Chapter12/> mkdir build> cd build> cmake ..> make
To execute the server, run the following:
> ./example3_server
To execute the client, open a new Terminal and run the following:
> cd Hands-On-System-Programming-with-CPP/Chapter12/build> ./example3_clientDebug: Hello WorldHello World> ./example3_clientDebug: Hello ...
Read now
Unlock full access