NNG_INPROC_REGISTER(3) NNG Reference Manual NNG_INPROC_REGISTER(3)

nng_inproc_register - register inproc transport

#include <nng/transport/inproc/inproc.h>
int nng_inproc_register(void);

The nng_inproc_register() function registers the inproc 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.

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

NNG_ENOMEM

Insufficient memory is available.

NNG_ENOTSUP

The transport is not supported.

nng_inproc(5), nng(7)

2025-01-05