logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

nng_pipe_dialer - return dialer that created pipe

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.

Errors

       None.

Name

       nng_pipe_dialer - return dialer that created pipe

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.

See Also

nng_pipe(5), nng_dialer(5), nng(7)

                                                   2025-04-20                                 NNG_PIPE_DIALER(3)

Synopsis

           #include <nng/nng.h>

           nng_dialer nng_pipe_dialer(nng_pipe p);

See Also