This documentation is for the TIP (development tree) of NNG and may represent unreleased changes or functionality that is experimental, and is subject to change before release. The latest released version is v1.3.2. See the documentation for v1.3.2 for the most up-to-date information.

nng_tls_register(3)

NAME

nng_tls_register - register tls transport

SYNOPSIS

#include <nng/transport/tls/tls.h>

int nng_tls_register(void);

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.

SEE ALSO