The Language
Core Library
Engine Library
Node-Related Classes
GUI-Related Classes
Plugins Library
High-Level Systems
Usage Examples
API Reference
Integration Samples
Usage Examples
C++ Plugins
Migrating to UNIGINE 2.0
C++ API Migration
Migrating from UNIGINE 2.0 to UNIGINE 2.1
This version of documentation is OUTDATED! Please switch to the latest one.


This article describes the data/samples/plugins/ssl_socket_01.cpp sample.

The ssl_socket_01 sample demonstrates how to create a secure network communication server.

It is required to launch the SSLSocket plugin before running the sample.

In this sample, the server creates a socket that listens on port 4433 and accepts a connection from any client. If the client connects, the server sends the encrypted web page to it.

After you run this sample, you can open the web page, which is sent to the client. It is located on the https://localhost:4433. To see the encrypted web page, run also the ssl_socket_00 sample.

See Also

Last update: 2017-07-03
Build: ()