注意! 这个版本的文档是过时的,因为它描述了一个较老的SDK版本!请切换到最新SDK版本的文档。
ssl_socket_00
This article describes the data/samples/plugins/ssl_socket_00.cpp sample.
The ssl_socket_00 sample demonstrates how to create a secure network communication client.
It is required to launch the SSLSocket plugin before running the sample.
In this sample, the client sends the GET request to the local web server by using an SSL certificate and displays the server's answer. To get the server's answer, you should open both the ssl_socket_00 and ssl_socket_01 samples, otherwise the "Can't connect to localhost:4433" string will be shown instead of the encrypted answer.
See Also
- Article on the SSLSocket plugin
Last update: 2017-07-03
Help improve this article
(or select a word/phrase and press Ctrl+Enter)