nng_tls_register − register tls transport
#include <nng/transport/tls/tls.h>
int nng_tls_register(void);
The nng_tls_register() function registers the tls transport for use.
This function returns 0 on success, and non−zero otherwise.
NNG_ENOMEM
Insufficient memory is available.
NNG_ENOTSUP
The transport is not supported.
nng_tls(7), nng(7)