nng_tcp_register - register tcp transport
Contents
Description
The nng_tcp_register() function registers the tcp transport for use.
Note
This function is deprecated, and may be removed from a future release. It is no longer necessary to
explicitly register transports.
Errors
NNG_ENOMEM
Insufficient memory is available.
NNG_ENOTSUP
The transport is not supported.
Name
nng_tcp_register - register tcp transport
Return Values
This function returns 0 on success, and non-zero otherwise.
See Also
nng_tcp(7), nng(7) 2025-04-20 NNG_TCP_REGISTER(3)
Synopsis
#include <nng/transport/tcp/tcp.h>
int nng_tcp_register(void);
