NNG_ZT_REGISTER(3)

NAME
nng_zt_register - register ZeroTier transport

SYNOPSIS

    #include <nng/transport/zerotier/zerotier.h>
    int nng_zt_register(void);

DESCRIPTION

The nng_zt_register() function registers the zt 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.

SEE ALSO

nng_zerotier(7), nng(7)