The example programs from this chapter can be compiled using any modern C compiler. We recommend MinGW for Windows and GCC for Linux and macOS. You also need to have the OpenSSL library installed. See Appendices B, Setting Up Your C Compiler on Windows, Appendices C, Setting Up Your C Compiler on Linux, and Appendices D, Setting Up Your C Compiler on macOS, for compiler setup and OpenSSL installation.
The code for this book can be found at https://github.com/codeplea/Hands-On-Network-Programming-with-C.
From the command line, you can download the code for this chapter with the following command:
git clone https://github.com/codeplea/Hands-On-Network-Programming-with-C
cd Hands-On-Network-Programming-with-C/chap09
Each example program in this chapter runs on Windows, Linux, and macOS. While compiling on Windows, each...