A few other examples are included in this chapter's repository. They are the following:
tls_client.c: This is
tcp_client.cfrom Chapter 3, An In-Depth Overview of TCP Connections, but it has been modified to make TLS connections.
https_get.c: This is the
web_get.cprogram from Chapter 6, Building a Simple Web Client, but it has been modified for HTTPS. You can think of it as the extended version of
tls_get_cert.c: This is like
https_simple.c, but it simply prints the connected server's certificate and exits.
Keep in mind that none of the examples in this chapter perform certification verification. This is an important step that must be added before using these programs in the field.