This documentation is for version v1.3.0 of NNG, but the latest released version is v1.7.2. see the documentation for v1.7.2 for the most up-to-date information.

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.