nanomsg next generation NNG  
Home GitHub Documentation

This documentation is for version v1.2.2 of nng, but the latest released version is v1.3.2. see the documentation for v1.3.2 for the most up-to-date information.
nng_msg_set_pipe(3)

SYNOPSIS

#include <nng/nng.h>

void nng_msg_set_pipe(nng_msg *msg, nng_pipe p);

DESCRIPTION

The nng_msg_set_pipe() sets the pipe associated with message m to p. This is most often useful when used with protocols that support directing a message to a specific peer. For example the pair version 1 protocol can do this when NNG_OPT_PAIR1_POLY mode is set.

Not all protocols support overriding the destination pipe.

RETURN VALUES

None.

ERRORS

None.

NNG Reference Manual vv1.2.2 © 2019 Staysail Systems, Inc, © 2018 Capitar IT Group BV
This document is supplied under the MIT License.
nanomsg™ and nng™ are trademarks of Garrett D'Amore.