I need example codes for the initial handshake for C codes that use normal I/O sockets. I need codes for Server DNS, Server HTTPS, Server IMAP, POP3, and STMP. I found only this: https://www.gnutls.org/manual/html_node/GnuTLS-application-examples.html But those examples are incomplete and don't exist for the servers that i need.