#include <nng/nng.h>
nng_dialer nng_pipe_dialer(nng_pipe p);
This documentation is for the TIP (development tree) of NNG and may represent unreleased changes or functionality that is experimental, and is subject to change before release. The latest released version is v1.8.0. See the documentation for v1.8.0 for the most up-to-date information. |
nng_pipe_dialer(3)
NAME
nng_pipe_dialer - return dialer that created pipe
SYNOPSIS
DESCRIPTION
The nng_pipe_dialer()
function returns the nng_dialer
that created the pipe p.
If the pipe was not created by a dialer, then the returned value will
have an identifier (nng_dialer_id()
) of -1
.
RETURN VALUES
This function returns the dialer that created the pipe, unless it was
not created by a dialer, in which case a value initialized with
NNG_DIALER_INITIALIZER
will be returned.
ERRORS
None.