From 57e736b5be2052484eec44889586bd89a2724c71 Mon Sep 17 00:00:00 2001 From: Garrett D'Amore Date: Fri, 3 Jan 2025 12:46:33 -0800 Subject: 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. --- docs/ref/api/ctx.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'docs/ref/api/ctx.md') 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. -- cgit v1.2.3-70-g09d2