aboutsummaryrefslogtreecommitdiff
path: root/src/sp/protocol/survey0/xrespond_test.c
diff options
context:
space:
mode:
authorGarrett D'Amore <garrett@damore.org>2025-01-03 12:46:33 -0800
committerGarrett D'Amore <garrett@damore.org>2025-01-04 09:48:44 -0800
commit57e736b5be2052484eec44889586bd89a2724c71 (patch)
treef579d2863d7d31e202f083ab6d5f5fe85651e64c /src/sp/protocol/survey0/xrespond_test.c
parentcefc6e1995f7f8e53e16db745eac7a86c2ebffd3 (diff)
downloadnng-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 'src/sp/protocol/survey0/xrespond_test.c')
-rw-r--r--src/sp/protocol/survey0/xrespond_test.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/sp/protocol/survey0/xrespond_test.c b/src/sp/protocol/survey0/xrespond_test.c
index 03ac5fc1..bda924c3 100644
--- a/src/sp/protocol/survey0/xrespond_test.c
+++ b/src/sp/protocol/survey0/xrespond_test.c
@@ -171,7 +171,7 @@ test_xresp_close_pipe_before_send(void)
NUTS_MARRY(surv, resp);
NUTS_SEND(surv, "test");
- nng_recv_aio(resp, aio1);
+ nng_socket_recv(resp, aio1);
nng_aio_wait(aio1);
NUTS_PASS(nng_aio_result(aio1));
NUTS_TRUE((m = nng_aio_get_msg(aio1)) != NULL);
@@ -265,7 +265,7 @@ test_xresp_recv_aio_stopped(void)
NUTS_PASS(nng_aio_alloc(&aio, NULL, NULL));
nng_aio_stop(aio);
- nng_recv_aio(resp, aio);
+ nng_socket_recv(resp, aio);
nng_aio_wait(aio);
NUTS_FAIL(nng_aio_result(aio), NNG_ESTOPPED);
NUTS_CLOSE(resp);
@@ -281,7 +281,7 @@ test_xresp_recv_aio_canceled(void)
NUTS_PASS(nng_respondent0_open_raw(&resp));
NUTS_PASS(nng_aio_alloc(&aio, NULL, NULL));
- nng_recv_aio(resp, aio);
+ nng_socket_recv(resp, aio);
nng_aio_cancel(aio);
nng_aio_wait(aio);
NUTS_FAIL(nng_aio_result(aio), NNG_ECANCELED);