Unreal Engine Plugin
TCP Client Openssl
How to use TCP client class with openssl
References
#include "TCP/TCPClient.h"
How to use
Blueprint: search by GetInternetProtocolSubsystem
and call CreateTCPClientSsl
function
C++: Use the code bellow
Functions
This class has the same functions from TCPClient
, except for the ones shown below
Update Ssl Socket
- Update ssl config.
- Must be called after change any config from Ssl Context.

Get Ssl Context
- Get ssl context properties.
- Must be called after change any config from Ssl Context.

Get Ssl Socket
- Get ssl socket properties.

Load Private Key Data
- Load the private key from a string.
- If any error occurs, it will trigger the
OnError
event.

Load Private Key File
- Load the private key from file.
- If any error occurs, it will trigger the
OnError
event. - Relative path.

Load Certificate Data
- Load the certificate from a string.
- If any error occurs, it will trigger the
OnError
event.

Load Certificate File
- Load the certificate from file.
- If any error occurs, it will trigger the
OnError
event. - Relative path.

Load Certificate Chain Data
- Load the certificate chain from a string.
- If any error occurs, it will trigger the
OnError
event.

Load Certificate Chain File
- Load the certificate chain from file.
- If any error occurs, it will trigger the
OnError
event. - Relative path.

Load Verify File
- Load the certificate from file and verify if it is valid.
- If any error occurs, it will trigger the
OnError
event. - Relative path.
