This chapter continues where Chapter 9, Loading Secure Web Pages with HTTPS and OpenSSL, left off. This chapter continues to use the OpenSSL library. It is imperative that you have the OpenSSL library installed and that you know the basics of programming with OpenSSL. Refer to Chapter 9, Loading Secure Web Pages with HTTPS and OpenSSL, for basic information about OpenSSL.
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 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 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 by using the following command: