nng_aio_set_msg(3)

nng_aio_set_msg3

Set message for asynchronous send

Usage

#include <nng/nng.h>
void nng_aio_set_msg(nng_aio *aio, nng_msg *msg);

Overview

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

Important

The nng_aio must not have an operation in progress.

Return values

None.

Errors

None.

From libnng-dev 1.10.1-2 in Debian 13 (Trixie). Parsed by carta from the page's man source.