nng_aio_get_msg - get message from asynchronous receive
Contents
Description
The nng_aio_get_msg() function gets any message stored in aio as either a result of a successful receive
(see nng_recv_aio()) or that was previously stored with nng_aio_set_msg().
Important
The nng_aio must not have an operation in progress.
Errors
None.
Name
nng_aio_get_msg - get message from asynchronous receive
Return Values
None.
See Also
nng_aio_set_msg(3), nng_recv_aio(3), nng_aio(5), nng_msg(5), nng(7) 2025-04-20 NNG_AIO_GET_MSG(3)
Synopsis
#include <nng/nng.h>
nng_msg *nng_aio_get_msg(nng_aio *aio);
