#include <nng/transport/tls/tls.h>
int nng_tls_register(void);
This documentation is for version v1.7.1 of NNG, but the latest released version is v1.8.0. see the documentation for v1.8.0 for the most up-to-date information. |
nng_tls_register(3)
NAME
nng_tls_register - register tls transport
SYNOPSIS
DESCRIPTION
The nng_tls_register()
function registers the
tls transport(transport, tls) for use.
RETURN VALUES
This function returns 0 on success, and non-zero otherwise.
ERRORS
NNG_ENOMEM
|
Insufficient memory is available. |
NNG_ENOTSUP
|
The transport is not supported. |