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_aio_set_msg(3)

NAME

nng_aio_set_msg - set message for asynchronous send

SYNOPSIS

#include <nng/nng.h>

void nng_aio_set_msg(nng_aio *aio, nng_msg *msg);

DESCRIPTION

The nng_aio_set_msg() function sets the message that will be used for an asynchronous send operation (see nng_send_aio()).

The nng_aio must not have an operation in progress.

RETURN VALUES

None.

ERRORS

None.

SEE ALSO