SYNOPSIS
#include <nng/transport/tls/tls.h>
int nng_tls_register(void);
DESCRIPTION
The nng_tls_register()
function registers the
tls transport 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.