From 87048760903fdb82ff5a1f13a9a1dd7a2505460d Mon Sep 17 00:00:00 2001 From: Garrett D'Amore Date: Thu, 3 May 2018 06:46:46 -0700 Subject: man page updates for tip --- man/tip/libnng.3.html | 42 +++++++++++++++++++++++++++++++++++++++--- 1 file changed, 39 insertions(+), 3 deletions(-) (limited to 'man/tip/libnng.3.html') diff --git a/man/tip/libnng.3.html b/man/tip/libnng.3.html index 3758d308..6d1758ce 100644 --- a/man/tip/libnng.3.html +++ b/man/tip/libnng.3.html @@ -628,6 +628,10 @@ intended to solve common communication problems in distributed applications.

nng_setopt()

set socket option

+ +

nng_socket_id()

+

get numeric socket identifier

+ @@ -660,6 +664,10 @@ Listeners accept incoming connection requets, and dialers make them.

get dialer option

+

nng_dialer_id()

+

get numeric dialer identifier

+ +

nng_dialer_setopt()

set dialer option

@@ -684,6 +692,10 @@ Listeners accept incoming connection requets, and dialers make them.

get listener option

+

nng_listener_id()

+

get numeric listener identifier

+ +

nng_listener_setopt()

set listener option

@@ -696,9 +708,29 @@ Listeners accept incoming connection requets, and dialers make them.

close pipe

+

nng_pipe_dialer()

+

return dialer that created pipe

+ +

nng_pipe_getopt()

get pipe option

+ +

nng_pipe_id()

+

get numeric pipe identifier

+ + +

nng_pipe_listener()

+

return listener that created pipe

+ + +

nng_pipe_notify())

+

register pipe notification callback

+ + +

nng_pipe_socket())

+

return owning socket for pipe

+ @@ -840,7 +872,7 @@ mode may need to access the header of messages.

Asynchronous Operations

Most applications will interact with nng synchronously; that is that -functions such as nng_send() will block the calling +functions such as nng_send() will block the calling thread until the operation has completed.

@@ -863,10 +895,10 @@ delivery. initiated by the calling thread, but control returns immediately to the calling thread. When the operation is subsequently completed (regardless of whether this was successful or not), then a user supplied function -("callback") is executed.

+(“callback”) is executed.

-

A context structure, an nng_aio, is allocated and +

A context structure, an nng_aio, is allocated and associated with each asynchronous operation. Only a single asynchronous operation may be associated with an nng_aio at any time.

@@ -1082,6 +1114,10 @@ concurrent applications.

get context option

+

nng_ctx_id()

+

get numeric context identifier

+ +

nng_ctx_open()

create context

-- cgit v1.2.3-70-g09d2