The Client
客户端
Once the client has initialized the SSL context, it's ready to connect to the server. OpenSSL requires us to create a TCP connection between client and server on our own and then use the TCP socket to create an SSL socket. For convenience, we've isolated the
creation of the TCP connection to the tcp_connect() function (which is not shown here but is available in the downloadable source).
一旦客户端初始化了SSL上下文,它准备连接到服务器。OpenSSL需要我们自己创建一个客......
阅读全文