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.7.3. See the documentation for v1.7.3 for the most up-to-date information.

nng_aio_get_msg(3)

NAME

nng_aio_get_msg - get message from asynchronous receive

SYNOPSIS

#include <nng/nng.h>

nng_msg *nng_aio_get_msg(nng_aio *aio);

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().

The nng_aio must not have an operation in progress.

RETURN VALUES

None.

ERRORS

None.

SEE ALSO