Browse - Programming Tips - How can I program TCP/IP security on Windows?
Keywords: SSL, TLS, StartTLS, win32
Q. How can I program TCP/IP security on Windows?
If you just want to make a https connection you can use Wininet which is easy.
(Also works for ftp and gopher).
If you want to do IPSEC use WSASetSocketSecurity() on a socket.
If you want to do STARTTLS / SSL (other than https) use SChannel.
Or you can leave the Microsoft world and use OpenSSL.