From e65ecddd1c04ab5b784b0919e62bc87d2a750ef6 Mon Sep 17 00:00:00 2001 From: Garrett D'Amore Date: Thu, 23 Jan 2020 23:53:54 -0800 Subject: Publishing updates for v1.2 --- man/v1.2/nng_ctx_send.3.html | 534 ++----------------------------------------- 1 file changed, 24 insertions(+), 510 deletions(-) (limited to 'man/v1.2/nng_ctx_send.3.html') diff --git a/man/v1.2/nng_ctx_send.3.html b/man/v1.2/nng_ctx_send.3.html index 8496ec66..e2b83aef 100644 --- a/man/v1.2/nng_ctx_send.3.html +++ b/man/v1.2/nng_ctx_send.3.html @@ -1,505 +1,18 @@ --- -version: 1.2 +version: v1.2 layout: refman --- - + - + nng_ctx_send(3) - - - + + -

NAME

+

NAME

nng_ctx_send - send message using context asynchronously

@@ -536,17 +49,17 @@ body.book #toc,body.book #preamble,body.book h1.sect0,body.book .sect1>h2{page-b

DESCRIPTION

-

The nng_ctx_send() sends a message using the -context ctx asynchronously.

+

The nng_ctx_send() sends a message using the +context ctx asynchronously.

The message to send must have previously been set on the aio -using the nng_aio_set_msg() function. +using the nng_aio_set_msg() function. The function assumes “ownership” of the message.

If the message was successfully queued for delivery to the socket, -then the aio will be completed, and nng_aio_result() +then the aio will be completed, and nng_aio_result() will return zero. In this case the socket will dispose of the message when it is finished with it.

@@ -570,12 +83,12 @@ socket, or in flight over physical media.

If the operation fails for any reason (including cancellation or timeout), then the aio callback will be executed and -nng_aio_result() will return a non-zero error status. +nng_aio_result() will return a non-zero error status. In this case, the callback has a responsibility to retrieve the message from -the aio with nng_aio_get_msg() and dispose of +the aio with nng_aio_get_msg() and dispose of it appropriately. (This may include retrying the send operation on the same or a different -socket, or deallocating the message with nng_msg_free().)

+socket, or deallocating the message with nng_msg_free().)

@@ -600,7 +113,7 @@ protocol, so examination of the protocol documentation is encouraged. Context send operations are asynchronous. If a synchronous operation is needed, one can be constructed by using a NULL callback on the aio and then waiting for the operation using -nng_aio_wait(). +nng_aio_wait().
@@ -684,17 +197,18 @@ If a synchronous operation is needed, one can be constructed by using a

SEE ALSO

+ - + \ No newline at end of file -- cgit v1.2.3-70-g09d2