SYNOPSIS
#include <nng/nng.h>
#include <nng/supplemental/ipc/ipc.h>
int nng_ipc_listener_alloc(nng_ipc_listener *lp);
DESCRIPTION
The nng_ipc_listener_alloc() allocates an IPC listener, which can be used
to accept incoming connections over IPC, and stores a pointer to it
it in the location referenced by lp.
RETURN VALUES
This function returns 0 on success, and non-zero otherwise.
ERRORS
NNG_ENOMEM
|
Insufficient free memory exists. |