summaryrefslogtreecommitdiff
path: root/docs/ref/aio/nng_aio_set_msg.adoc
blob: f808c69f949408b67ca6395bd54886fac833922d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
## nng_aio_set_msg

Set message for asynchronous send.

### Synopsis

```c
#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 xref:../sock/nng_send_aio.adoc[`nng_send_aio`]).


### See Also

xref:nng_aio_get_msg.adoc[nng_aio_get_msg],
xref:../sock/nng_send_aio.adoc[nng_send_aio],
xref:nng_msg.adoc[nng_msg]