Getting Started
Migrating to UNIGINE 2.0
C++ API Migration
UnigineScript
The Language
Core Library
Engine Library
Node-Related Classes
GUI-Related Classes
Plugins Library
High-Level Systems
Usage Examples
C++ API
API Reference
Integration Samples
Usage Examples
C++ Plugins

ssl_socket_01

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.

Notice
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