SSL *myssl; socketfd=socket(AF_INET,SOCK_STREAM,0); ... myssl=SSL_new(ctx); if(!myssl) { ... SSL_set_fd(myssl,socketfd); /*Connect to the server, SSL layer.
確定! 回上一頁