logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

nng_tls_register - register tls transport

Description

       The nng_tls_register() function registers the tls transport for use.

Errors

       NNG_ENOMEM
           Insufficient memory is available.

       NNG_ENOTSUP
           The transport is not supported.

Name

       nng_tls_register - register tls transport

Return Values

       This function returns 0 on success, and non-zero otherwise.

See Also

nng_tls(7), nng(7)

                                                   2025-04-20                                NNG_TLS_REGISTER(3)

Synopsis

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

           int nng_tls_register(void);

See Also