--- version: tip layout: refman --- nng_ipc_dialer_alloc(3ipc)

SYNOPSIS

#include <nng/nng.h>
#include <nng/supplemental/ipc/ipc.h>

int nng_ipc_dialer_alloc(nng_ipc_dialer *dp);

DESCRIPTION

The nng_ipc_dialer_alloc() allocates an IPC dialer, which can be used to create outgoing connections over IPC, and stores a pointer to it it in the location referenced by dp.

RETURN VALUES

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

ERRORS

NNG_ENOMEM

Insufficient free memory exists.

SEE ALSO