Programming
Fundamentals
Setting Up Development Environment
Usage Examples
UnigineScript
High-Level Systems
C++
C#
UUSL (Unified UNIGINE Shader Language)
File Formats
Rebuilding the Engine and Tools
GUI
Double Precision Coordinates
API
Containers
Common Functionality
Controls-Related Classes
Engine-Related Classes
Filesystem Functionality
GUI-Related Classes
Math Functionality
Node-Related Classes
Networking Functionality
Pathfinding-Related Classes
Physics-Related Classes
Plugins-Related Classes
Rendering-Related Classes

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