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 libssh library installed. See Appendix B, Setting Up Your C Compiler on Windows, Appendix C, Setting Up Your C Compiler on Linux, and Appendix D, Setting Up Your C Compiler on macOS, for compiler setup and libssh 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 by using the following command:
git clone https://github.com/codeplea/Hands-On-Network-Programming-with-C
cd Hands-On-Network-Programming-with-C/chap11
Each example program in this chapter runs on Windows, Linux, and macOS.
Each example needs to be linked against the...