This documentation is for version v1.7.3 of NNG, but the latest released version is v1.8.0. see the documentation for v1.8.0 for the most up-to-date information.

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.

This function is deprecated, and may be removed from a future release. It is no longer necessary to explicitly register transports.

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