diff options
| author | Garrett D'Amore <garrett@damore.org> | 2025-01-03 12:46:33 -0800 |
|---|---|---|
| committer | Garrett D'Amore <garrett@damore.org> | 2025-01-04 09:48:44 -0800 |
| commit | 57e736b5be2052484eec44889586bd89a2724c71 (patch) | |
| tree | f579d2863d7d31e202f083ab6d5f5fe85651e64c /docs/ref/api/ctx.md | |
| parent | cefc6e1995f7f8e53e16db745eac7a86c2ebffd3 (diff) | |
| download | nng-57e736b5be2052484eec44889586bd89a2724c71.tar.gz nng-57e736b5be2052484eec44889586bd89a2724c71.tar.bz2 nng-57e736b5be2052484eec44889586bd89a2724c71.zip | |
api: rename nng_send_aio and nng_recv_aio to nng_socket_send and nng_socket_recv
This aligns more closely with the nng_ctx functions.
Diffstat (limited to 'docs/ref/api/ctx.md')
| -rw-r--r-- | docs/ref/api/ctx.md | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/ref/api/ctx.md b/docs/ref/api/ctx.md index f1157def..b64ed3a1 100644 --- a/docs/ref/api/ctx.md +++ b/docs/ref/api/ctx.md @@ -150,7 +150,7 @@ The `nng_ctx_recvmsg` function receives a message and stores a pointer to the [` The _flags_ can contain the value [`NNG_FLAG_NONBLOCK`], indicating that the function should not wait if the socket has no messages available to receive. In such a case, it will return [`NNG_EAGAIN`]. -### nng_recv_aio +### nng_socket_recv The `nng_ctx_send` function receives a message asynchronously, using the [`nng_aio`] _aio_, over the context _ctx_. On success, the received message can be retrieved from the _aio_ using the [`nng_aio_get_msg`] function. |
