aboutsummaryrefslogtreecommitdiff
path: root/docs/ref/api/ctx.md
diff options
context:
space:
mode:
Diffstat (limited to 'docs/ref/api/ctx.md')
-rw-r--r--docs/ref/api/ctx.md2
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.