diff options
| author | Garrett D'Amore <garrett@damore.org> | 2018-05-31 17:00:09 -0700 |
|---|---|---|
| committer | Garrett D'Amore <garrett@damore.org> | 2018-05-31 17:00:09 -0700 |
| commit | ec6acef262bc96f0763a455ec1c0c8f1e3746d0d (patch) | |
| tree | 4347171c04a81029f9a4e618be05f675a5aa17db | |
| parent | 3c74c9180c286d62b11fa7d297cf04e6edcc7ceb (diff) | |
| download | nng-ec6acef262bc96f0763a455ec1c0c8f1e3746d0d.tar.gz nng-ec6acef262bc96f0763a455ec1c0c8f1e3746d0d.tar.bz2 nng-ec6acef262bc96f0763a455ec1c0c8f1e3746d0d.zip | |
man page updates for tip
244 files changed, 3716 insertions, 2107 deletions
diff --git a/man/tip/index.html b/man/tip/index.html index e4e300d2..5faa5639 100644 --- a/man/tip/index.html +++ b/man/tip/index.html @@ -470,7 +470,7 @@ with the distribution.</p> <tbody> <tr> <td class="tableblock halign-left valign-top"><p class="tableblock"><a href="nngcat.1.html">nngcat(1)</a></p></td> -<td class="tableblock halign-left valign-top"><p class="tableblock">command line access to Scalabity Protocols</p></td> +<td class="tableblock halign-left valign-top"><p class="tableblock">command line access to Scalability Protocols</p></td> </tr> </tbody> </table> @@ -480,8 +480,13 @@ with the distribution.</p> <h2 id="_section_3_library_functions">Section 3: Library Functions</h2> <div class="sectionbody"> <div class="paragraph"> -<p>This section documents core libary functions that are -callable by applications.</p> +<p>This section documents core libary functions supporting Scalability +Protocols.</p> +</div> +<div class="paragraph"> +<p>Most Scalability Protocols applications can be written using just +the functions documented in this section, as this represents the +primary API for building such applications.</p> </div> <table class="tableblock frame-all grid-all spread"> <colgroup> @@ -895,11 +900,11 @@ callable by applications.</p> </tr> <tr> <td class="tableblock halign-left valign-top"><p class="tableblock"><a href="nng_ws_register.3.html">nng_ws_register(3)</a></p></td> -<td class="tableblock halign-left valign-top"><p class="tableblock">register websocket transport</p></td> +<td class="tableblock halign-left valign-top"><p class="tableblock">register WebSocket transport</p></td> </tr> <tr> <td class="tableblock halign-left valign-top"><p class="tableblock"><a href="nng_wss_register.3.html">nng_wss_register(3)</a></p></td> -<td class="tableblock halign-left valign-top"><p class="tableblock">register websocket secure transport</p></td> +<td class="tableblock halign-left valign-top"><p class="tableblock">register WebSocket secure transport</p></td> </tr> <tr> <td class="tableblock halign-left valign-top"><p class="tableblock"><a href="nng_zt_register.3.html">nng_zt_register(3)</a></p></td> @@ -913,9 +918,30 @@ callable by applications.</p> <h2 id="_section_3compat_compatible_library_functions">Section 3compat: Compatible Library Functions</h2> <div class="sectionbody"> <div class="paragraph"> -<p>This section documents the <em>nanomsg</em> 1.0 libary compatible functions. -The functions in this section not be used except to aid in transitioning -from the older <em>libnanomsg</em> library.</p> +<p>This section documents the <em>nanomsg</em> 1.0 libary compatible functions.</p> +</div> +<div class="paragraph"> +<p>These functions are provided as a transition aid, for application +developers coming to <em>NNG</em> from <em>libnanomsg</em>, and are discouraged +from use in new applications.</p> +</div> +<div class="admonitionblock tip"> +<table> +<tr> +<td class="icon"> +<i class="fa icon-tip" title="Tip"></i> +</td> +<td class="content"> +While this is discouraged for long term use, as a transition aid +applications may use the value returned by the +<a href="nng_socket_id.3.html">nng_socket_id()</a> in these functions just like a +socket descriptor (as if the socket were opened +via <a href="nn_socket.3compat.html">nn_socket()</a>). +This sort of API intermixing should only be used during transition from +the legacy API to the new API. +</td> +</tr> +</table> </div> <table class="tableblock frame-all grid-all spread"> <colgroup> @@ -1019,8 +1045,19 @@ from the older <em>libnanomsg</em> library.</p> <h2 id="_section_3http_supplemental_http_functions">Section 3http: Supplemental HTTP Functions</h2> <div class="sectionbody"> <div class="paragraph"> -<p>This section documents supplemental HTTP support functions -that are available.</p> +<p>This section documents supplemental HTTP (HyperText Transport Protocol) +support functions that are available.</p> +</div> +<div class="paragraph"> +<p>These functions can be used in conjunction with the +<a href="nng_ws.7.html">WebSocket</a> transport for Scalability Protocols, or they +may be used to construct other types of applications that communicate +using HTTP.</p> +</div> +<div class="paragraph"> +<p>It is also possible to combine the two, such that an HTTP server providing +static or dynamic content can also be used to host one or more Scalability +Protocols sockets.</p> </div> <table class="tableblock frame-all grid-all spread"> <colgroup> @@ -1273,8 +1310,13 @@ that are available.</p> <div class="sectionbody"> <div class="paragraph"> <p>This section documents supplemental functions that are available. -These functions are not intrinsic to building applications with -this library, but their presence may facilitate writing portable applications.</p> +These functions are not intrinsic to building Scalability Protocols +applications with this library.</p> +</div> +<div class="paragraph"> +<p>However, their use may facilitate writing portable applications by +providing uniform functions for common application needs such as +mutual exclusion locks, threading, time keeping, and similar needs.</p> </div> <table class="tableblock frame-all grid-all spread"> <colgroup> @@ -1354,7 +1396,21 @@ this library, but their presence may facilitate writing portable applications.</ <h2 id="_section_3tls_supplemental_tls_functions">Section 3tls: Supplemental TLS Functions</h2> <div class="sectionbody"> <div class="paragraph"> -<p>This section documents supplemental TLS functions that are available.</p> +<p>This section documents supplemental TLS (Transport Layer Security) +functions that are available. +TLS support is available when using Scalability Protocols with +the <a href="nng_tls.7.html">TLS</a> transport, or when using WebSocket, either +with the <a href="nng_ws.7.html">WebSocket</a> transport for Scalability Protocols, +or combined with other HTTP capabilities.</p> +</div> +<div class="paragraph"> +<p>These functions depend on library support that is not included directly +with <em>NNG</em> however, so their presence will depend on whether this +additional support was present and enabled with <em>libnng</em> was built.</p> +</div> +<div class="paragraph"> +<p>Currently, this extra support can be provided by the +<a href="https://tls.mbed.org">mbedTLS library</a>.</p> </div> <table class="tableblock frame-all grid-all spread"> <colgroup> @@ -1404,6 +1460,10 @@ this library, but their presence may facilitate writing portable applications.</ <div class="paragraph"> <p>This section documents core macros and types that are available.</p> </div> +<div class="paragraph"> +<p>These are the core types and macros that most Scalabilty Protocols +applications need will use.</p> +</div> <table class="tableblock frame-all grid-all spread"> <colgroup> <col style="width: 37.5%;"> @@ -1485,6 +1545,20 @@ this library, but their presence may facilitate writing portable applications.</ <p>This sections documents various protocols and transports that are available in the distribution.</p> </div> +<div class="paragraph"> +<p> +Protocols represent “patterns” of communication, such as +request/reply, publish/subscribe, and so forth. +A given <a href="nng_socket.5.html">socket</a> is created with exactly one protocol, and that +protocol defines the key behavior of the socket.</p> +</div> +<div class="paragraph"> +<p> +Conversely, transports are the underlying mechansims by which messages +are moved between participants, such as TCP/IP or UNIX domain IPC. +A given <a href="nng_socket.5.html">socket</a> may be using several transports at the same +time.</p> +</div> <table class="tableblock frame-all grid-all spread"> <colgroup> <col style="width: 37.5%;"> diff --git a/man/tip/libnng.3.html b/man/tip/libnng.3.html index 6d1758ce..99be7012 100644 --- a/man/tip/libnng.3.html +++ b/man/tip/libnng.3.html @@ -639,7 +639,7 @@ intended to solve common communication problems in distributed applications.</p> <h3 id="_connection_management">Connection Management</h3> <div class="paragraph"> <p>The following functions are used with either listeners, or dialers. -Listeners accept incoming connection requets, and dialers make them.</p> +Listeners accept incoming connection requests, and dialers make them.</p> </div> <table class="tableblock frame-all grid-all spread"> <colgroup> @@ -724,11 +724,11 @@ Listeners accept incoming connection requets, and dialers make them.</p> <td class="tableblock halign-left valign-top"><p class="tableblock">return listener that created pipe</p></td> </tr> <tr> -<td class="tableblock halign-left valign-top"><p class="tableblock"><a href="nng_pipe_notify.3.html">nng_pipe_notify())</a></p></td> +<td class="tableblock halign-left valign-top"><p class="tableblock"><a href="nng_pipe_notify.3.html">nng_pipe_notify()</a></p></td> <td class="tableblock halign-left valign-top"><p class="tableblock">register pipe notification callback</p></td> </tr> <tr> -<td class="tableblock halign-left valign-top"><p class="tableblock"><a href="nng_pipe_socket.3.html">nng_pipe_socket())</a></p></td> +<td class="tableblock halign-left valign-top"><p class="tableblock"><a href="nng_pipe_socket.3.html">nng_pipe_socket()</a></p></td> <td class="tableblock halign-left valign-top"><p class="tableblock">return owning socket for pipe</p></td> </tr> </tbody> @@ -1596,7 +1596,7 @@ with TLS support. <div class="sect1"> <h2 id="_see_also">SEE ALSO</h2> <div class="sectionbody"> -<div class="paragraph"> +<div class="paragraph text-left"> <p><a href="nng_compat.3compat.html">nng_compat(3compat)</a>, <a href="nng.7.html">nng(7)</a></p> </div> diff --git a/man/tip/nn_allocmsg.3compat.html b/man/tip/nn_allocmsg.3compat.html index 33861666..44ec2748 100644 --- a/man/tip/nn_allocmsg.3compat.html +++ b/man/tip/nn_allocmsg.3compat.html @@ -539,7 +539,7 @@ body.book #toc,body.book #preamble,body.book h1.sect0,body.book .sect1>h2{page-b <p>The <code>nn_allocmsg()</code> allocates a message structure of size <em>size</em>, and is primarily used to support zero-copy send operations, making use of the <code>NNG_MSG</code> special size indicator. -The value returned is a pointer ot the start of the message payload buffer.</p> +The value returned is a pointer to the start of the message payload buffer.</p> </div> <div class="paragraph"> <p>The value of <em>size</em> must be positive, and small enough to hold reasonable @@ -616,7 +616,7 @@ on failure.</p> <div class="sect1"> <h2 id="_see_also">SEE ALSO</h2> <div class="sectionbody"> -<div class="paragraph"> +<div class="paragraph text-left"> <p><a href="nn_errno.3compat.html">nn_errno(3compat)</a>, <a href="nn_freemsg.3compat.html">nn_freemsg(3compat)</a>, <a href="nn_reallocmsg.3compat.html">nn_reallocmsg(3compat)</a>, diff --git a/man/tip/nn_bind.3compat.html b/man/tip/nn_bind.3compat.html index cc700456..764bcc51 100644 --- a/man/tip/nn_bind.3compat.html +++ b/man/tip/nn_bind.3compat.html @@ -640,7 +640,7 @@ supported with this function. <div class="sect1"> <h2 id="_see_also">SEE ALSO</h2> <div class="sectionbody"> -<div class="paragraph"> +<div class="paragraph text-left"> <p><a href="nn_connect.3compat.html">nn_connect(3compat)</a>, <a href="nn_errno.3compat.html">nn_errno(3compat)</a>, <a href="nn_shutdown.3compat.html">nn_shutdown(3compat)</a>, diff --git a/man/tip/nn_close.3compat.html b/man/tip/nn_close.3compat.html index ef4173f5..f41fb5ec 100644 --- a/man/tip/nn_close.3compat.html +++ b/man/tip/nn_close.3compat.html @@ -592,7 +592,7 @@ Consider using the relevant <a href="libnng.3.html">modern API</a> instead. <div class="sect1"> <h2 id="_see_also">SEE ALSO</h2> <div class="sectionbody"> -<div class="paragraph"> +<div class="paragraph text-left"> <p><a href="nn_errno.3compat.html">nn_errno(3compat)</a>, <a href="nn_socket.3compat.html">nn_socket(3compat)</a>, <a href="nng_compat.3compat.html">nng_compat(3compat)</a>, diff --git a/man/tip/nn_cmsg.3compat.html b/man/tip/nn_cmsg.3compat.html index c87acaff..e2c9b8f0 100644 --- a/man/tip/nn_cmsg.3compat.html +++ b/man/tip/nn_cmsg.3compat.html @@ -596,7 +596,7 @@ bytes of following data, and any necessary padding.</p> </dd> <dt class="hdlist1"><code>size_t NN_CMSG_LEN(size_t <em>len</em>)</code></dt> <dd> -<p>This macro evalutes to the length of the header (including alignment), +<p>This macro evaluates to the length of the header (including alignment), and the associated data of length <em>len</em>, but without any trailing padding to align for another header.</p> </dd> @@ -607,7 +607,7 @@ to align for another header.</p> <div class="sect1"> <h2 id="_see_also">SEE ALSO</h2> <div class="sectionbody"> -<div class="paragraph"> +<div class="paragraph text-left"> <p><a href="nn_recvmsg.3compat.html">nn_recvmsg(3compat)</a>, <a href="nn_sendmsg.3compat.html">nn_sendmsg(3compat)</a>, <a href="nng_compat.3compat.html">nng_compat(3compat)</a>, diff --git a/man/tip/nn_connect.3compat.html b/man/tip/nn_connect.3compat.html index cde634a1..62b51e5e 100644 --- a/man/tip/nn_connect.3compat.html +++ b/man/tip/nn_connect.3compat.html @@ -537,7 +537,7 @@ body.book #toc,body.book #preamble,body.book h1.sect0,body.book .sect1>h2{page-b <div class="sectionbody"> <div class="paragraph"> <p>The <code>nn_connect()</code> function arranges for the socket <em>sock</em> to -inititate connection to a peer at the address specified by <em>url</em>. +initiate connection to a peer at the address specified by <em>url</em>. An “endpoint identifier” for this socket’s association with the <em>url</em> is returned to the caller on success. This ID can be used with <code><a href="nn_shutdown.3compat.html">nn_shutdown()</a></code> to @@ -632,7 +632,7 @@ supported with this function. <div class="sect1"> <h2 id="_see_also">SEE ALSO</h2> <div class="sectionbody"> -<div class="paragraph"> +<div class="paragraph text-left"> <p><a href="nn_bind.3compat.html">nn_bind(3compat)</a>, <a href="nn_errno.3compat.html">nn_errno(3compat)</a>, <a href="nn_shutdown.3compat.html">nn_shutdown(3compat)</a>, diff --git a/man/tip/nn_device.3compat.html b/man/tip/nn_device.3compat.html index 34e803e3..f7e7a658 100644 --- a/man/tip/nn_device.3compat.html +++ b/man/tip/nn_device.3compat.html @@ -574,28 +574,40 @@ one of the sockets is closed or an error occurs.</p> <div class="sect1"> <h2 id="_errors">ERRORS</h2> <div class="sectionbody"> -<div class="dlist horizonal"> -<dl> -<dt><code>EBADF</code></dt> -<dd> +<div class="hdlist"> +<table> +<tr> +<td class="hdlist1"> +<code>EBADF</code> +</td> +<td class="hdlist2"> <p>One of the two sockets is invalid or not open, or has</p> -</dd> -<dt><code>EINVAL</code></dt> -<dd> +</td> +</tr> +<tr> +<td class="hdlist1"> +<code>EINVAL</code> +</td> +<td class="hdlist2"> <p>The sockets are not compatible with each other, or not both raw.</p> -</dd> -<dt><code>ENOMEM</code></dt> -<dd> +</td> +</tr> +<tr> +<td class="hdlist1"> +<code>ENOMEM</code> +</td> +<td class="hdlist2"> <p>Insufficient memory is available.</p> -</dd> -</dl> +</td> +</tr> +</table> </div> </div> </div> <div class="sect1"> <h2 id="_see_also">SEE ALSO</h2> <div class="sectionbody"> -<div class="paragraph"> +<div class="paragraph text-left"> <p><a href="nn_errno.3compat.html">nn_errno(3compat)</a>, <a href="nn_socket.3compat.html">nn_socket(3compat)</a>, <a href="nng_compat.3compat.html">nng_compat(3compat)</a>, diff --git a/man/tip/nn_errno.3compat.html b/man/tip/nn_errno.3compat.html index 971ceed1..4fb037f6 100644 --- a/man/tip/nn_errno.3compat.html +++ b/man/tip/nn_errno.3compat.html @@ -764,7 +764,7 @@ If no operation has failed, then this will be zero.</p> <div class="sect1"> <h2 id="_see_also">SEE ALSO</h2> <div class="sectionbody"> -<div class="paragraph"> +<div class="paragraph text-left"> <p><a href="nn_strerror.3compat.html">nn_strerror(3compat)</a>, <a href="nng_compat.3compat.html">nng_compat(3compat)</a>, <a href="nng.7.html">nng(7)</a></p> diff --git a/man/tip/nn_freemsg.3compat.html b/man/tip/nn_freemsg.3compat.html index f5f595c9..a3487548 100644 --- a/man/tip/nn_freemsg.3compat.html +++ b/man/tip/nn_freemsg.3compat.html @@ -574,7 +574,7 @@ Consider using the relevant <a href="libnng.3.html">modern API</a> instead. <div class="sect1"> <h2 id="_see_also">SEE ALSO</h2> <div class="sectionbody"> -<div class="paragraph"> +<div class="paragraph text-left"> <p><a href="nn_allocmsg.3compat.html">nn_allocmsg(3compat)</a>, <a href="#">nn_freemsg(3compat)</a>, <a href="nn_errno.3compat.html">nn_errno(3compat)</a>, diff --git a/man/tip/nn_get_statistic.3compat.html b/man/tip/nn_get_statistic.3compat.html index ab8a5219..0a04fe58 100644 --- a/man/tip/nn_get_statistic.3compat.html +++ b/man/tip/nn_get_statistic.3compat.html @@ -574,7 +574,7 @@ Consider using the relevant <a href="libnng.3.html">modern API</a> instead. <div class="sect1"> <h2 id="_see_also">SEE ALSO</h2> <div class="sectionbody"> -<div class="paragraph"> +<div class="paragraph text-left"> <p><a href="nng_compat.3compat.html">nng_compat(3compat)</a>, <a href="nng.7.html">nng(7)</a></p> </div> diff --git a/man/tip/nn_getsockopt.3compat.html b/man/tip/nn_getsockopt.3compat.html index 268f2f4b..fc8128d5 100644 --- a/man/tip/nn_getsockopt.3compat.html +++ b/man/tip/nn_getsockopt.3compat.html @@ -699,10 +699,10 @@ The default is 100.</p> <dd> <p>Maximum reconnect interval in milliseconds. Subsequent reconnection attempts after a failed attempt are made at -exponentially increasing intervals (backoff), but the interval is +exponentially increasing intervals (back-off), but the interval is capped by this value. If this value is smaller than <code>NN_RECONNECT_IVL</code>, then no exponential -backoff is performed, and each reconnect interval will be determined +back-off is performed, and each reconnect interval will be determined solely by <code>NN_RECONNECT_IVL</code>. The default is zero.</p> </dd> @@ -960,7 +960,7 @@ in this implementation.</p> <div class="sect1"> <h2 id="_see_also">SEE ALSO</h2> <div class="sectionbody"> -<div class="paragraph"> +<div class="paragraph text-left"> <p><a href="nng_socket.5.html">nng_socket(5)</a>, <a href="nn_close.3compat.html">nn_close(3compat)</a>, <a href="nn_errno.3compat.html">nn_errno(3compat)</a>, diff --git a/man/tip/nn_poll.3compat.html b/man/tip/nn_poll.3compat.html index bc23ef2e..becda07b 100644 --- a/man/tip/nn_poll.3compat.html +++ b/man/tip/nn_poll.3compat.html @@ -569,7 +569,7 @@ of the flags <code>NN_POLLIN</code> and <code>NN_POLLOUT</code>.</p> </div> <div class="paragraph"> <p>The flag <code>NN_POLLIN</code> indicates that a socket is ready for receiving without -blocking (a message is avaiable on the socket), and the flag <code>NN_POLLOUT</code> +blocking (a message is available on the socket), and the flag <code>NN_POLLOUT</code> indicates that a socket is ready for sending without blocking.</p> </div> <div class="paragraph"> @@ -604,11 +604,11 @@ after updating the current status of the sockets.</p> <p>If the <em>timeout</em> is -1, then the function waits forever, or until one of the requested events occurs.</p> </div> -<div class="admonitionblock warning"> +<div class="admonitionblock important"> <table> <tr> <td class="icon"> -<i class="fa icon-warning" title="Warning"></i> +<i class="fa icon-important" title="Important"></i> </td> <td class="content"> This function is only suitable for use with sockets obtained with the @@ -701,7 +701,7 @@ platforms and Windows. <div class="sect1"> <h2 id="_see_also">SEE ALSO</h2> <div class="sectionbody"> -<div class="paragraph"> +<div class="paragraph text-left"> <p><a href="nn_errno.3compat.html">nn_errno(3compat)</a>, <a href="nn_recv.3compat.html">nn_recv(3compat)</a>, <a href="nn_send.3compat.html">nn_send(3compat)</a>, diff --git a/man/tip/nn_reallocmsg.3compat.html b/man/tip/nn_reallocmsg.3compat.html index df685b56..c11e01ac 100644 --- a/man/tip/nn_reallocmsg.3compat.html +++ b/man/tip/nn_reallocmsg.3compat.html @@ -608,7 +608,7 @@ on failure.</p> <div class="sect1"> <h2 id="_see_also">SEE ALSO</h2> <div class="sectionbody"> -<div class="paragraph"> +<div class="paragraph text-left"> <p><a href="nn_allocmsg.3compat.html">nn_allocmsg(3compat)</a>, <a href="nn_freemsg.3compat.html">nn_freemsg(3compat)</a>, <a href="nn_errno.3compat.html">nn_errno(3compat)</a>, diff --git a/man/tip/nn_recv.3compat.html b/man/tip/nn_recv.3compat.html index 57558c4e..516087b5 100644 --- a/man/tip/nn_recv.3compat.html +++ b/man/tip/nn_recv.3compat.html @@ -637,7 +637,7 @@ the operation shall not block, but instead will fail with the error <code>EAGAIN <div class="sect1"> <h2 id="_see_also">SEE ALSO</h2> <div class="sectionbody"> -<div class="paragraph"> +<div class="paragraph text-left"> <p><a href="nn_errno.3compat.html">nn_errno(3compat)</a>, <a href="nn_recvmsg.3compat.html">nn_recvmsg(3compat)</a>, <a href="nn_send.3compat.html">nn_send(3compat)</a>, diff --git a/man/tip/nn_recvmsg.3compat.html b/man/tip/nn_recvmsg.3compat.html index e241bdf7..d9d4a95e 100644 --- a/man/tip/nn_recvmsg.3compat.html +++ b/man/tip/nn_recvmsg.3compat.html @@ -536,7 +536,7 @@ body.book #toc,body.book #preamble,body.book h1.sect0,body.book .sect1>h2{page-b <h2 id="_description">DESCRIPTION</h2> <div class="sectionbody"> <div class="paragraph"> -<p>The <code>nn_recvmsg()</code> function receives a message into the heade described by +<p>The <code>nn_recvmsg()</code> function receives a message into the header described by <em>hdr</em> using the socket <em>sock</em>.</p> </div> <div class="admonitionblock note"> @@ -594,7 +594,7 @@ or similar when it is no longer needed.</p> <div class="paragraph"> <p>The values of <code>msg_control</code> and <code>msg_controllen</code> describe a buffer of ancillary data associated with the message. -This is currenly only useful to obtain the message headers +This is currently only useful to obtain the message headers used with <a href="nng.7.html#raw_mode">raw mode</a> sockets. In all other circumstances these fields should be zero. Details about this structure are covered in @@ -670,7 +670,7 @@ Details about this structure are covered in <div class="sect1"> <h2 id="_see_also">SEE ALSO</h2> <div class="sectionbody"> -<div class="paragraph"> +<div class="paragraph text-left"> <p><a href="nn_cmsg.3compat.html">nn_cmsg(3compat)</a>, <a href="nn_errno.3compat.html">nn_errno(3compat)</a>, <a href="nn_recv.3compat.html">nn_recv(3compat)</a>, diff --git a/man/tip/nn_send.3compat.html b/man/tip/nn_send.3compat.html index 8071118f..948ee1f0 100644 --- a/man/tip/nn_send.3compat.html +++ b/man/tip/nn_send.3compat.html @@ -646,7 +646,7 @@ completed before this function returns control to the caller. <div class="sect1"> <h2 id="_see_also">SEE ALSO</h2> <div class="sectionbody"> -<div class="paragraph"> +<div class="paragraph text-left"> <p><a href="nn_errno.3compat.html">nn_errno(3compat)</a>, <a href="nn_recv.3compat.html">nn_recv(3compat)</a>, <a href="nn_sendmsg.3compat.html">nn_sendmsg(3compat)</a>, diff --git a/man/tip/nn_sendmsg.3compat.html b/man/tip/nn_sendmsg.3compat.html index d35a9752..c843ea09 100644 --- a/man/tip/nn_sendmsg.3compat.html +++ b/man/tip/nn_sendmsg.3compat.html @@ -599,7 +599,7 @@ at its choice.)</p> <div class="paragraph"> <p>The values of <code>msg_control</code> and <code>msg_controllen</code> describe a buffer of ancillary data to send the message. -This is currenly only useful to provide the message headers +This is currently only useful to provide the message headers used with <a href="nng.7.html#raw_mode">raw mode</a> sockets. In all other circumstances these fields should be zero. Details about this structure are covered in @@ -688,7 +688,7 @@ completed before this function returns control to the caller. <div class="sect1"> <h2 id="_see_also">SEE ALSO</h2> <div class="sectionbody"> -<div class="paragraph"> +<div class="paragraph text-left"> <p><a href="nn_cmsg.3compat.html">nn_cmsg(3compat)</a>, <a href="nn_errno.3compat.html">nn_errno(3compat)</a>, <a href="nn_recv.3compat.html">nn_recv(3compat)</a>, diff --git a/man/tip/nn_setsockopt.3compat.html b/man/tip/nn_setsockopt.3compat.html index 326c1946..714219e0 100644 --- a/man/tip/nn_setsockopt.3compat.html +++ b/man/tip/nn_setsockopt.3compat.html @@ -619,7 +619,7 @@ thus size 4, unless otherwise indicated.)</p> In <em>nng</em> buffers are sized as a count of messages rather than bytes, and so an attempt to estimate a conversion based upon a predetermined message size of 1kB is made. -The value supplied is rouned up to the nearest value divisible by 1024, and +The value supplied is rounded up to the nearest value divisible by 1024, and then divided by 1024 to convert to a message count. Applications that have unusual message sizes may wish to adjust the value used here accordingly. @@ -683,10 +683,10 @@ The default is 100.</p> <dd> <p>Maximum reconnect interval in milliseconds. Subsequent reconnection attempts after a failed attempt are made at -exponentially increasing intervals (backoff), but the interval is +exponentially increasing intervals (back-off), but the interval is capped by this value. If this value is smaller than <code>NN_RECONNECT_IVL</code>, then no exponential -backoff is performed, and each reconnect interval will be determined +back-off is performed, and each reconnect interval will be determined solely by <code>NN_RECONNECT_IVL</code>. The default is zero.</p> </dd> @@ -917,7 +917,7 @@ in this implementation.</p> <div class="sect1"> <h2 id="_see_also">SEE ALSO</h2> <div class="sectionbody"> -<div class="paragraph"> +<div class="paragraph text-left"> <p><a href="nng_socket.5.html">nng_socket(5)</a>, <a href="nn_close.3compat.html">nn_close(3compat)</a>, <a href="nn_errno.3compat.html">nn_errno(3compat)</a>, diff --git a/man/tip/nn_shutdown.3compat.html b/man/tip/nn_shutdown.3compat.html index bcab691f..35894e8a 100644 --- a/man/tip/nn_shutdown.3compat.html +++ b/man/tip/nn_shutdown.3compat.html @@ -594,7 +594,7 @@ Consider using the relevant <a href="libnng.3.html">modern API</a> instead. <div class="sect1"> <h2 id="_see_also">SEE ALSO</h2> <div class="sectionbody"> -<div class="paragraph"> +<div class="paragraph text-left"> <p><a href="nn_bind.3compat.html">nn_bind(3compat)</a>, <a href="nn_connect.3compat.html">nn_connect(3compat)</a>, <a href="nn_errno.3compat.html">nn_errno(3compat)</a>, diff --git a/man/tip/nn_socket.3compat.html b/man/tip/nn_socket.3compat.html index 7ce2f3e2..4bda69b8 100644 --- a/man/tip/nn_socket.3compat.html +++ b/man/tip/nn_socket.3compat.html @@ -735,7 +735,7 @@ The following protocols are defined:</p> <div class="sect1"> <h2 id="_see_also">SEE ALSO</h2> <div class="sectionbody"> -<div class="paragraph"> +<div class="paragraph text-left"> <p><a href="nng_socket.5.html">nng_socket(5)</a>, <a href="nn_close.3compat.html">nn_close(3compat)</a>, <a href="nn_errno.3compat.html">nn_errno(3compat)</a>, diff --git a/man/tip/nn_strerror.3compat.html b/man/tip/nn_strerror.3compat.html index 9478f58c..9dbedd27 100644 --- a/man/tip/nn_strerror.3compat.html +++ b/man/tip/nn_strerror.3compat.html @@ -574,7 +574,7 @@ Consider using the relevant <a href="libnng.3.html">modern API</a> instead. <div class="sect1"> <h2 id="_see_also">SEE ALSO</h2> <div class="sectionbody"> -<div class="paragraph"> +<div class="paragraph text-left"> <p><a href="nn_errno.3compat.html">nn_errno(3compat)</a>, <a href="nng_compat.3compat.html">nng_compat(3compat)</a>, <a href="nng.7.html">nng(7)</a></p> diff --git a/man/tip/nn_term.3compat.html b/man/tip/nn_term.3compat.html index efeeb378..7b9953f9 100644 --- a/man/tip/nn_term.3compat.html +++ b/man/tip/nn_term.3compat.html @@ -595,7 +595,7 @@ own sockets directly. <div class="sect1"> <h2 id="_see_also">SEE ALSO</h2> <div class="sectionbody"> -<div class="paragraph"> +<div class="paragraph text-left"> <p><a href="nn_errno.3compat.html">nn_errno(3compat)</a>, <a href="nn_socket.3compat.html">nn_socket(3compat)</a>, <a href="nng_compat.3compat.html">nng_compat(3compat)</a>, diff --git a/man/tip/nng.7.html b/man/tip/nng.7.html index b6517f9a..c02ba10f 100644 --- a/man/tip/nng.7.html +++ b/man/tip/nng.7.html @@ -580,66 +580,146 @@ other languages please check the <a href="http://nanomsg.org/">website</a>.</p> <div class="sect1"> <h2 id="_protocols">Protocols</h2> <div class="sectionbody"> -<div class="ulist"> -<ul> -<li> -<p><a href="nng_bus.7.html">nng_bus(7)</a> - Bus protocol</p> -</li> -<li> -<p><a href="nng_pair.7.html">nng_pair(7)</a> - Pair protocol</p> -</li> -<li> -<p><a href="nng_pub.7.html">nng_pub(7)</a> - Publisher side of publish/subscribe protocol</p> -</li> -<li> -<p><a href="nng_pull.7.html">nng_pull(7)</a> - Pull side of pipeline protocol</p> -</li> -<li> -<p><a href="nng_push.7.html">nng_push(7)</a> - Push side of pipeline protocol</p> -</li> -<li> -<p><a href="nng_sub.7.html">nng_sub(7)</a> - Subscriber side of publish/subscribe protocol</p> -</li> -<li> -<p><a href="nng_rep.7.html">nng_rep(7)</a> - Reply side of request/reply protocol</p> -</li> -<li> -<p><a href="nng_req.7.html">nng_req(7)</a> - Request side of request/reply protocol</p> -</li> -<li> -<p><a href="nng_respondent.7.html">nng_respondent(7)</a> - Respondent side of survey protocol</p> -</li> -<li> -<p><a href="nng_surveyor.7.html">nng_surveyor(7)</a> - Surveyor side of survey protocol</p> -</li> -</ul> +<div class="hdlist"> +<table> +<tr> +<td class="hdlist1"> +<a href="nng_bus.7.html">nng_bus(7)</a> +</td> +<td class="hdlist2"> +<p>Bus protocol</p> +</td> +</tr> +<tr> +<td class="hdlist1"> +<a href="nng_pair.7.html">nng_pair(7)</a> +</td> +<td class="hdlist2"> +<p>Pair protocol</p> +</td> +</tr> +<tr> +<td class="hdlist1"> +<a href="nng_pub.7.html">nng_pub(7)</a> +</td> +<td class="hdlist2"> +<p>Publisher side of publish/subscribe protocol</p> +</td> +</tr> +<tr> +<td class="hdlist1"> +<a href="nng_pull.7.html">nng_pull(7)</a> +</td> +<td class="hdlist2"> +<p>Pull side of pipeline protocol</p> +</td> +</tr> +<tr> +<td class="hdlist1"> +<a href="nng_push.7.html">nng_push(7)</a> +</td> +<td class="hdlist2"> +<p>Push side of pipeline protocol</p> +</td> +</tr> +<tr> +<td class="hdlist1"> +<a href="nng_sub.7.html">nng_sub(7)</a> +</td> +<td class="hdlist2"> +<p>Subscriber side of publish/subscribe protocol</p> +</td> +</tr> +<tr> +<td class="hdlist1"> +<a href="nng_rep.7.html">nng_rep(7)</a> +</td> +<td class="hdlist2"> +<p>Reply side of request/reply protocol</p> +</td> +</tr> +<tr> +<td class="hdlist1"> +<a href="nng_req.7.html">nng_req(7)</a> +</td> +<td class="hdlist2"> +<p>Request side of request/reply protocol</p> +</td> +</tr> +<tr> +<td class="hdlist1"> +<a href="nng_respondent.7.html">nng_respondent(7)</a> +</td> +<td class="hdlist2"> +<p>Respondent side of survey protocol</p> +</td> +</tr> +<tr> +<td class="hdlist1"> +<a href="nng_surveyor.7.html">nng_surveyor(7)</a> +</td> +<td class="hdlist2"> +<p>Surveyor side of survey protocol</p> +</td> +</tr> +</table> </div> </div> </div> <div class="sect1"> <h2 id="_transports">Transports</h2> <div class="sectionbody"> -<div class="ulist"> -<ul> -<li> -<p><a href="nng_inproc.7.html">nng_inproc(7)</a> - Intra-process transport</p> -</li> -<li> -<p><a href="nng_ipc.7.html">nng_ipc(7)</a> - Inter-process transport</p> -</li> -<li> -<p><a href="nng_tls.7.html">nng_tls(7)</a> - TLSv1.2 over TCP transport</p> -</li> -<li> -<p><a href="nng_tcp.7.html">nng_tcp(7)</a> - TCP (and TCPv6) transport</p> -</li> -<li> -<p><a href="nng_ws.7.html">nng_ws(7)</a> - WebSocket transport</p> -</li> -<li> -<p><a href="nng_zerotier.7.html">nng_zerotier(7)</a> - ZeroTier transport</p> -</li> -</ul> +<div class="hdlist"> +<table> +<tr> +<td class="hdlist1"> +<a href="nng_inproc.7.html">nng_inproc(7)</a> +</td> +<td class="hdlist2"> +<p>Intra-process transport</p> +</td> +</tr> +<tr> +<td class="hdlist1"> +<a href="nng_ipc.7.html">nng_ipc(7)</a> +</td> +<td class="hdlist2"> +<p>Inter-process transport</p> +</td> +</tr> +<tr> +<td class="hdlist1"> +<a href="nng_tls.7.html">nng_tls(7)</a> +</td> +<td class="hdlist2"> +<p>TLSv1.2 over TCP transport</p> +</td> +</tr> +<tr> +<td class="hdlist1"> +<a href="nng_tcp.7.html">nng_tcp(7)</a> +</td> +<td class="hdlist2"> +<p>TCP (and TCPv6) transport</p> +</td> +</tr> +<tr> +<td class="hdlist1"> +<a href="nng_ws.7.html">nng_ws(7)</a> +</td> +<td class="hdlist2"> +<p>WebSocket transport</p> +</td> +</tr> +<tr> +<td class="hdlist1"> +<a href="nng_zerotier.7.html">nng_zerotier(7)</a> +</td> +<td class="hdlist2"> +<p>ZeroTier transport</p> +</td> +</tr> +</table> </div> </div> </div> @@ -817,7 +897,7 @@ confusion when they are parsed on different systems. <div class="sect1"> <h2 id="_see_also">SEE ALSO</h2> <div class="sectionbody"> -<div class="paragraph"> +<div class="paragraph text-left"> <p><a href="libnng.3.html">libnng(3)</a>, <a href="nng_compat.3compat.html">nng_compat(3compat)</a></p> </div> diff --git a/man/tip/nng_aio.5.html b/man/tip/nng_aio.5.html index f88c4d39..6ec6638d 100644 --- a/man/tip/nng_aio.5.html +++ b/man/tip/nng_aio.5.html @@ -534,7 +534,7 @@ body.book #toc,body.book #preamble,body.book h1.sect0,body.book .sect1>h2{page-b <h2 id="_description">DESCRIPTION</h2> <div class="sectionbody"> <div class="paragraph"> -<p>An <code>nng_aio</code> is an opaque structure used in conjuction with +<p>An <code>nng_aio</code> is an opaque structure used in conjunction with asynchronous I/O operations. Every asynchronous operation uses one of these structures, each of which can only be used with a single operation at a time.</p> @@ -566,7 +566,7 @@ and destroyed using <code><a href="nng_aio_free.3.html">nng_aio_free()</a></code <div class="sect1"> <h2 id="_see_also">SEE ALSO</h2> <div class="sectionbody"> -<div class="paragraph"> +<div class="paragraph text-left"> <p><a href="nng_aio_abort.3.html">nng_aio_abort(3)</a>, <a href="nng_aio_alloc.3.html">nng_aio_alloc(3)</a>, <a href="nng_aio_cancel.3.html">nng_aio_cancel(3)</a>, diff --git a/man/tip/nng_aio_abort.3.html b/man/tip/nng_aio_abort.3.html index 54e663a0..2f515d5d 100644 --- a/man/tip/nng_aio_abort.3.html +++ b/man/tip/nng_aio_abort.3.html @@ -572,7 +572,7 @@ has no effect.</p> <div class="sect1"> <h2 id="_see_also">SEE ALSO</h2> <div class="sectionbody"> -<div class="paragraph"> +<div class="paragraph text-left"> <p><a href="nng_aio_alloc.3.html">nng_aio_alloc(3)</a>, <a href="nng_aio_cancel.3.html">nng_aio_cancel(3)</a>, <a href="nng_aio_result.3.html">nng_aio_result(3)</a>, diff --git a/man/tip/nng_aio_alloc.3.html b/man/tip/nng_aio_alloc.3.html index 43b05384..939dcab5 100644 --- a/man/tip/nng_aio_alloc.3.html +++ b/man/tip/nng_aio_alloc.3.html @@ -588,20 +588,24 @@ operation is complete except by calling the aforementioned <div class="sect1"> <h2 id="_errors">ERRORS</h2> <div class="sectionbody"> -<div class="dlist"> -<dl> -<dt class="hdlist1"><code>NNG_ENOMEM</code></dt> -<dd> +<div class="hdlist"> +<table> +<tr> +<td class="hdlist1"> +<code>NNG_ENOMEM</code> +</td> +<td class="hdlist2"> <p>Insufficient free memory to perform the operation.</p> -</dd> -</dl> +</td> +</tr> +</table> </div> </div> </div> <div class="sect1"> <h2 id="_see_also">SEE ALSO</h2> <div class="sectionbody"> -<div class="paragraph"> +<div class="paragraph text-left"> <p><a href="nng_aio_abort.3.html">nng_aio_abort(3)</a>, <a href="nng_aio_cancel.3.html">nng_aio_cancel(3)</a>, <a href="nng_aio_count.3.html">nng_aio_count(3)</a>, diff --git a/man/tip/nng_aio_cancel.3.html b/man/tip/nng_aio_cancel.3.html index 1dacb1b1..7780ec85 100644 --- a/man/tip/nng_aio_cancel.3.html +++ b/man/tip/nng_aio_cancel.3.html @@ -585,7 +585,7 @@ This function is the same as calling <div class="sect1"> <h2 id="_see_also">SEE ALSO</h2> <div class="sectionbody"> -<div class="paragraph"> +<div class="paragraph text-left"> <p><a href="nng_aio_abort.3.html">nng_aio_abort(3)</a>, <a href="nng_aio_alloc.3.html">nng_aio_alloc(3)</a>, <a href="nng_aio_result.3.html">nng_aio_result(3)</a>, diff --git a/man/tip/nng_aio_count.3.html b/man/tip/nng_aio_count.3.html index 9c2c8211..afbdd339 100644 --- a/man/tip/nng_aio_count.3.html +++ b/man/tip/nng_aio_count.3.html @@ -586,7 +586,7 @@ or after waiting for the operation to complete with <div class="sect1"> <h2 id="_see_also">SEE ALSO</h2> <div class="sectionbody"> -<div class="paragraph"> +<div class="paragraph text-left"> <p><a href="nng_aio_alloc.3.html">nng_aio_alloc(3)</a>, <a href="nng_aio_result.3.html">nng_aio_result(3)</a>, <a href="nng_aio_set_iov.3.html">nng_aio_set_iov(3)</a>, diff --git a/man/tip/nng_aio_finish.3.html b/man/tip/nng_aio_finish.3.html index 08019d94..3b78adca 100644 --- a/man/tip/nng_aio_finish.3.html +++ b/man/tip/nng_aio_finish.3.html @@ -594,7 +594,7 @@ users of the <em>aio</em> should not have any need for this function. <div class="sect1"> <h2 id="_see_also">SEE ALSO</h2> <div class="sectionbody"> -<div class="paragraph"> +<div class="paragraph text-left"> <p><a href="nng_aio_alloc.3.html">nng_aio_alloc(3)</a>, <a href="nng_aio_cancel.3.html">nng_aio_cancel(3)</a>, <a href="nng_aio_result.3.html">nng_aio_result(3)</a>, diff --git a/man/tip/nng_aio_free.3.html b/man/tip/nng_aio_free.3.html index fcb70442..a09b316d 100644 --- a/man/tip/nng_aio_free.3.html +++ b/man/tip/nng_aio_free.3.html @@ -563,7 +563,7 @@ that it is safe to deallocate the handle and any associated resources. <div class="sect1"> <h2 id="_see_also">SEE ALSO</h2> <div class="sectionbody"> -<div class="paragraph"> +<div class="paragraph text-left"> <p><a href="nng_aio_alloc.3.html">nng_aio_alloc(3)</a>, <a href="nng_aio_stop.3.html">nng_aio_stop(3)</a>, <a href="nng_aio.5.html">nng_aio(5)</a>, diff --git a/man/tip/nng_aio_get_input.3.html b/man/tip/nng_aio_get_input.3.html index a084e0a0..6630b464 100644 --- a/man/tip/nng_aio_get_input.3.html +++ b/man/tip/nng_aio_get_input.3.html @@ -568,7 +568,7 @@ or of the input parameter was not previously set, then <code>NULL</code> is retu <div class="sect1"> <h2 id="_see_also">SEE ALSO</h2> <div class="sectionbody"> -<div class="paragraph"> +<div class="paragraph text-left"> <p><a href="nng_aio_alloc.3.html">nng_aio_alloc(3)</a>, <a href="nng_aio_get_output.3.html">nng_aio_get_output(3)</a>, <a href="nng_aio_set_input.3.html">nng_aio_set_input(3)</a>, diff --git a/man/tip/nng_aio_get_msg.3.html b/man/tip/nng_aio_get_msg.3.html index eeb9175f..82cf03d3 100644 --- a/man/tip/nng_aio_get_msg.3.html +++ b/man/tip/nng_aio_get_msg.3.html @@ -574,7 +574,7 @@ The <code><a href="nng_aio.5.html">nng_aio</a></code> must not have an operation <div class="sect1"> <h2 id="_see_also">SEE ALSO</h2> <div class="sectionbody"> -<div class="paragraph"> +<div class="paragraph text-left"> <p><a href="nng_aio_set_msg.3.html">nng_aio_set_msg(3)</a>, <a href="nng_recv_aio.3.html">nng_recv_aio(3)</a>, <a href="nng_aio.5.html">nng_aio(5)</a>, diff --git a/man/tip/nng_aio_get_output.3.html b/man/tip/nng_aio_get_output.3.html index a366a8b7..2c0e1542 100644 --- a/man/tip/nng_aio_get_output.3.html +++ b/man/tip/nng_aio_get_output.3.html @@ -591,7 +591,7 @@ performed using the <em>aio</em> yet. <div class="sect1"> <h2 id="_see_also">SEE ALSO</h2> <div class="sectionbody"> -<div class="paragraph"> +<div class="paragraph text-left"> <p><a href="nng_aio_alloc.3.html">nng_aio_alloc(3)</a>, <a href="#">nng_aio_get_output(3)</a>, <a href="nng_aio_set_input.3.html">nng_aio_set_input(3)</a>, diff --git a/man/tip/nng_aio_result.3.html b/man/tip/nng_aio_result.3.html index 4462f5b6..d758a35f 100644 --- a/man/tip/nng_aio_result.3.html +++ b/man/tip/nng_aio_result.3.html @@ -571,27 +571,35 @@ number on failure.</p> <div class="sect1"> <h2 id="_errors">ERRORS</h2> <div class="sectionbody"> -<div class="dlist"> -<dl> -<dt class="hdlist1"><code>NNG_ETIMEDOUT</code></dt> -<dd> +<div class="hdlist"> +<table> +<tr> +<td class="hdlist1"> +<code>NNG_ETIMEDOUT</code> +</td> +<td class="hdlist2"> <p>The operation timed out.</p> -</dd> -<dt class="hdlist1"><code>NNG_ECANCELED</code></dt> -<dd> +</td> +</tr> +<tr> +<td class="hdlist1"> +<code>NNG_ECANCELED</code> +</td> +<td class="hdlist2"> <p>The operation was canceled.</p> -</dd> -</dl> +</td> +</tr> +</table> </div> <div class="paragraph"> -<p>Various other return values are possible dependending on the operation.</p> +<p>Various other return values are possible depending on the operation.</p> </div> </div> </div> <div class="sect1"> <h2 id="_see_also">SEE ALSO</h2> <div class="sectionbody"> -<div class="paragraph"> +<div class="paragraph text-left"> <p><a href="nng_aio_abort.3.html">nng_aio_abort(3)</a>, <a href="nng_aio_alloc.3.html">nng_aio_alloc(3)</a>, <a href="nng_aio_wait.3.html">nng_aio_wait(3)</a>, diff --git a/man/tip/nng_aio_set_input.3.html b/man/tip/nng_aio_set_input.3.html index fe4b6835..cda8094a 100644 --- a/man/tip/nng_aio_set_input.3.html +++ b/man/tip/nng_aio_set_input.3.html @@ -600,7 +600,7 @@ the <code><a href="nng_aio_get_input.3.html">nng_aio_get_input()</a></code> func <div class="sect1"> <h2 id="_see_also">SEE ALSO</h2> <div class="sectionbody"> -<div class="paragraph"> +<div class="paragraph text-left"> <p><a href="nng_aio_alloc.3.html">nng_aio_alloc(3)</a>, <a href="nng_aio_get_input.3.html">nng_aio_get_input(3)</a>, <a href="nng_aio_get_output.3.html">nng_aio_get_output(3)</a>, diff --git a/man/tip/nng_aio_set_iov.3.html b/man/tip/nng_aio_set_iov.3.html index 02e936ed..d99163b0 100644 --- a/man/tip/nng_aio_set_iov.3.html +++ b/man/tip/nng_aio_set_iov.3.html @@ -583,24 +583,32 @@ generally result in <code>NNG_EINVAL</code>.</p> <div class="sect1"> <h2 id="_errors">ERRORS</h2> <div class="sectionbody"> -<div class="dlist"> -<dl> -<dt class="hdlist1"><code>NNG_ENOMEM</code></dt> -<dd> +<div class="hdlist"> +<table> +<tr> +<td class="hdlist1"> +<code>NNG_ENOMEM</code> +</td> +<td class="hdlist2"> <p>Insufficient free memory to perform operation.</p> -</dd> -<dt class="hdlist1"><code>NNG_EINVAL</code></dt> -<dd> +</td> +</tr> +<tr> +<td class="hdlist1"> +<code>NNG_EINVAL</code> +</td> +<td class="hdlist2"> <p>Value of specified <em>niov</em> is too large.</p> -</dd> -</dl> +</td> +</tr> +</table> </div> </div> </div> <div class="sect1"> <h2 id="_see_also">SEE ALSO</h2> <div class="sectionbody"> -<div class="paragraph"> +<div class="paragraph text-left"> <p><a href="nng_aio_alloc.3.html">nng_aio_alloc(3)</a>, <a href="nng_aio_cancel.3.html">nng_aio_cancel(3)</a>, <a href="nng_aio_count.3.html">nng_aio_count(3)</a>, diff --git a/man/tip/nng_aio_set_msg.3.html b/man/tip/nng_aio_set_msg.3.html index 78919b47..1fef1eaa 100644 --- a/man/tip/nng_aio_set_msg.3.html +++ b/man/tip/nng_aio_set_msg.3.html @@ -572,7 +572,7 @@ The <code><a href="nng_aio.5.html">nng_aio</a></code> must not have an operation <div class="sect1"> <h2 id="_see_also">SEE ALSO</h2> <div class="sectionbody"> -<div class="paragraph"> +<div class="paragraph text-left"> <p><a href="nng_aio_get_msg.3.html">nng_aio_get_msg(3)</a>, <a href="nng_send_aio.3.html">nng_send_aio(3)</a>, <a href="nng_aio.5.html">nng_aio(5)</a>, diff --git a/man/tip/nng_aio_set_output.3.html b/man/tip/nng_aio_set_output.3.html index 9f16eaff..4e478a47 100644 --- a/man/tip/nng_aio_set_output.3.html +++ b/man/tip/nng_aio_set_output.3.html @@ -587,7 +587,7 @@ the <code><a href="nng_aio_get_output.3.html">nng_aio_get_output()</a></code> fu <div class="sect1"> <h2 id="_see_also">SEE ALSO</h2> <div class="sectionbody"> -<div class="paragraph"> +<div class="paragraph text-left"> <p><a href="nng_aio_alloc.3.html">nng_aio_alloc(3)</a>, <a href="nng_aio_finish.3.html">nng_aio_finish(3)</a>, <a href="nng_aio_get_output.3.html">nng_aio_get_output(3)</a>, diff --git a/man/tip/nng_aio_set_timeout.3.html b/man/tip/nng_aio_set_timeout.3.html index 75cc5559..726443f9 100644 --- a/man/tip/nng_aio_set_timeout.3.html +++ b/man/tip/nng_aio_set_timeout.3.html @@ -590,7 +590,7 @@ timeout.</p> <div class="sect1"> <h2 id="_see_also">SEE ALSO</h2> <div class="sectionbody"> -<div class="paragraph"> +<div class="paragraph text-left"> <p><a href="nng_aio_alloc.3.html">nng_aio_alloc(3)</a>, <a href="nng_aio_cancel.3.html">nng_aio_cancel(3)</a>, <a href="nng_aio_result.3.html">nng_aio_result(3)</a>, diff --git a/man/tip/nng_aio_stop.3.html b/man/tip/nng_aio_stop.3.html index 4dc2ba7b..00d48b5a 100644 --- a/man/tip/nng_aio_stop.3.html +++ b/man/tip/nng_aio_stop.3.html @@ -600,7 +600,7 @@ might attempt to reschedule additional operations. <div class="sect1"> <h2 id="_see_also">SEE ALSO</h2> <div class="sectionbody"> -<div class="paragraph"> +<div class="paragraph text-left"> <p><a href="nng_aio_cancel.3.html">nng_aio_cancel(3)</a>, <a href="nng_aio_free.3.html">nng_aio_free(3)</a>, <a href="nng_aio_wait.3.html">nng_aio_wait(3)</a>, diff --git a/man/tip/nng_aio_wait.3.html b/man/tip/nng_aio_wait.3.html index 75d7018f..ca538be9 100644 --- a/man/tip/nng_aio_wait.3.html +++ b/man/tip/nng_aio_wait.3.html @@ -566,7 +566,7 @@ function will not be called until the callback has completed.</p> <div class="sect1"> <h2 id="_see_also">SEE ALSO</h2> <div class="sectionbody"> -<div class="paragraph"> +<div class="paragraph text-left"> <p><a href="nng_aio_abort.3.html">nng_aio_abort(3)</a>, <a href="nng_aio_alloc.3.html">nng_aio_alloc(3)</a>, <a href="nng_aio.5.html">nng_aio(5)</a>, diff --git a/man/tip/nng_alloc.3.html b/man/tip/nng_alloc.3.html index c89c95c6..9e558d03 100644 --- a/man/tip/nng_alloc.3.html +++ b/man/tip/nng_alloc.3.html @@ -583,7 +583,7 @@ treated the same as <code>NNG_ENOMEM</code>.</p> <div class="sect1"> <h2 id="_see_also">SEE ALSO</h2> <div class="sectionbody"> -<div class="paragraph"> +<div class="paragraph text-left"> <p><a href="nng_free.3.html">nng_free(3)</a>, <a href="nng_send.3.html">nng_send(3)</a>, <a href="nng_strerror.3.html">nng_strerror(3)</a>, diff --git a/man/tip/nng_bus.7.html b/man/tip/nng_bus.7.html index 464e74ae..ac76c96c 100644 --- a/man/tip/nng_bus.7.html +++ b/man/tip/nng_bus.7.html @@ -617,7 +617,7 @@ identified in the header. This behavior is intended for use with <a href="nng_device.3.html#device">device</a> configurations consisting of just a single socket. Such configurations are useful in the creation of rebroadcasters, and this -capaibility prevents a message from being routed back to its source. +capability prevents a message from being routed back to its source. If no header is present, then a message is sent to all connected pipes.</p> </div> <div class="paragraph"> @@ -629,7 +629,7 @@ If no header is present, then a message is sent to all connected pipes.</p> <div class="sect1"> <h2 id="_see_also">SEE ALSO</h2> <div class="sectionbody"> -<div class="paragraph"> +<div class="paragraph text-left"> <p><a href="nng_bus_open.3.html">nng_bus_open(3)</a>, <a href="nng.7.html">nng(7)</a></p> </div> diff --git a/man/tip/nng_bus_open.3.html b/man/tip/nng_bus_open.3.html index e8aee826..d9e098f9 100644 --- a/man/tip/nng_bus_open.3.html +++ b/man/tip/nng_bus_open.3.html @@ -560,24 +560,32 @@ body.book #toc,body.book #preamble,body.book h1.sect0,body.book .sect1>h2{page-b <div class="sect1"> <h2 id="_errors">ERRORS</h2> <div class="sectionbody"> -<div class="dlist"> -<dl> -<dt class="hdlist1"><code>NNG_ENOMEM</code></dt> -<dd> +<div class="hdlist"> +<table> +<tr> +<td class="hdlist1"> +<code>NNG_ENOMEM</code> +</td> +<td class="hdlist2"> <p>Insufficient memory is available.</p> -</dd> -<dt class="hdlist1"><code>NNG_ENOTSUP</code></dt> -<dd> +</td> +</tr> +<tr> +<td class="hdlist1"> +<code>NNG_ENOTSUP</code> +</td> +<td class="hdlist2"> <p>The protocol is not supported.</p> -</dd> -</dl> +</td> +</tr> +</table> </div> </div> </div> <div class="sect1"> <h2 id="_see_also">SEE ALSO</h2> <div class="sectionbody"> -<div class="paragraph"> +<div class="paragraph text-left"> <p><a href="nng_socket.5.html">nng_socket(5)</a>, <a href="nng_bus.7.html">nng_bus(7)</a>, <a href="nng.7.html">nng(7)</a></p> diff --git a/man/tip/nng_clock.3supp.html b/man/tip/nng_clock.3supp.html index 1cd2fde3..6f388e90 100644 --- a/man/tip/nng_clock.3supp.html +++ b/man/tip/nng_clock.3supp.html @@ -593,7 +593,7 @@ timeouts using <a href="nng_cv_until.3supp.html">nng_cv_until(3supp)</a>. <div class="sect1"> <h2 id="_see_also">SEE ALSO</h2> <div class="sectionbody"> -<div class="paragraph"> +<div class="paragraph text-left"> <p><a href="nng_sleep_aio.3.html">nng_sleep_aio(3)</a>, <a href="nng_strerror.3.html">nng_strerror(3)</a>, <a href="nng_cv_until.3supp.html">nng_cv_until(3supp)</a>, diff --git a/man/tip/nng_close.3.html b/man/tip/nng_close.3.html index 0c938503..90d166f1 100644 --- a/man/tip/nng_close.3.html +++ b/man/tip/nng_close.3.html @@ -560,20 +560,24 @@ call is executed may also return with an <code>NNG_ECLOSED</code> result.</p> <div class="sect1"> <h2 id="_errors">ERRORS</h2> <div class="sectionbody"> -<div class="dlist"> -<dl> -<dt class="hdlist1"><code>NNG_ECLOSED</code></dt> -<dd> +<div class="hdlist"> +<table> +<tr> +<td class="hdlist1"> +<code>NNG_ECLOSED</code> +</td> +<td class="hdlist2"> <p>The socket <em>s</em> is already closed or was never opened.</p> -</dd> -</dl> +</td> +</tr> +</table> </div> </div> </div> <div class="sect1"> <h2 id="_see_also">SEE ALSO</h2> <div class="sectionbody"> -<div class="paragraph"> +<div class="paragraph text-left"> <p><a href="nng_strerror.3.html">nng_strerror(3)</a>, <a href="nng_options.5.html">nng_options(5)</a>, <a href="nng_socket.5.html">nng_socket(5)</a>, diff --git a/man/tip/nng_compat.3compat.html b/man/tip/nng_compat.3compat.html index c9f8d258..233a122e 100644 --- a/man/tip/nng_compat.3compat.html +++ b/man/tip/nng_compat.3compat.html @@ -510,7 +510,9 @@ body.book #toc,body.book #preamble,body.book h1.sect0,body.book .sect1>h2{page-b <li><a href="#_synopsis">SYNOPSIS</a></li> <li><a href="#_description">DESCRIPTION</a> <ul class="sectlevel2"> +<li><a href="#_compiling">Compiling</a></li> <li><a href="#_functions">Functions</a></li> +<li><a href="#_caveats">Caveats</a></li> </ul> </li> <li><a href="#_see_also">SEE ALSO</a></li> @@ -527,7 +529,19 @@ body.book #toc,body.book #preamble,body.book h1.sect0,body.book .sect1>h2{page-b <div class="sectionbody"> <div class="listingblock"> <div class="content"> -<pre class="pygments highlight"><code data-lang="c"><span></span><span class="tok-cp">#include</span> <span class="tok-cpf"><nn/nn.h></span><span class="tok-cp"></span></code></pre> +<pre class="pygments highlight"><code data-lang="c"><span></span><span class="tok-cp">#include</span> <span class="tok-cpf"><nanomsg/nn.h></span><span class="tok-cp"></span> + +<span class="tok-cp">#include</span> <span class="tok-cpf"><nanomsg/bus.h></span><span class="tok-cp"></span> +<span class="tok-cp">#include</span> <span class="tok-cpf"><nanomsg/pair.h></span><span class="tok-cp"></span> +<span class="tok-cp">#include</span> <span class="tok-cpf"><nanomsg/pipeline.h></span><span class="tok-cp"></span> +<span class="tok-cp">#include</span> <span class="tok-cpf"><nanomsg/pubsub.h></span><span class="tok-cp"></span> +<span class="tok-cp">#include</span> <span class="tok-cpf"><nanomsg/reqrep.h></span><span class="tok-cp"></span> +<span class="tok-cp">#include</span> <span class="tok-cpf"><nanomsg/survey.h></span><span class="tok-cp"></span> + +<span class="tok-cp">#include</span> <span class="tok-cpf"><nanomsg/inproc.h></span><span class="tok-cp"></span> +<span class="tok-cp">#include</span> <span class="tok-cpf"><nanomsg/ipc.h></span><span class="tok-cp"></span> +<span class="tok-cp">#include</span> <span class="tok-cpf"><nanomsg/tcp.h></span><span class="tok-cp"></span> +<span class="tok-cp">#include</span> <span class="tok-cpf"><nanomsg/ws.h></span><span class="tok-cp"></span></code></pre> </div> </div> </div> @@ -536,7 +550,8 @@ body.book #toc,body.book #preamble,body.book h1.sect0,body.book .sect1>h2{page-b <h2 id="_description">DESCRIPTION</h2> <div class="sectionbody"> <div class="paragraph"> -<p>The <a href="nng.7.html"><em>nng</em></a> library provides source-level compatibility for +<p> +The <a href="nng.7.html"><em>nng</em></a> library provides source-level compatibility for most <em>nanomsg</em> 1.0 applications.</p> </div> <div class="admonitionblock important"> @@ -546,7 +561,7 @@ most <em>nanomsg</em> 1.0 applications.</p> <i class="fa icon-important" title="Important"></i> </td> <td class="content"> -This is intended to faciliate converting legacy applications to +This is intended to facilitate converting legacy applications to use the <em>nng</em> library. New applications should use the newer <a href="nng.7.html"><em>nng</em></a> API instead. </td> @@ -554,9 +569,24 @@ New applications should use the newer <a href="nng.7.html"><em>nng</em></a> API </table> </div> <div class="paragraph"> -<p>Applications making use of this compatibility layer must take care +<p>Applications making use of this must take care to link with <a href="libnng.3.html"><em>libnng</em></a> instead of <em>libnn</em>.</p> </div> +<div class="admonitionblock tip"> +<table> +<tr> +<td class="icon"> +<i class="fa icon-tip" title="Tip"></i> +</td> +<td class="content"> +While not recommended for long term use, the value returned by +<a href="nng_socket_id.3.html">nng_socket_id()</a> can be used with these functions +just like a value returned by <a href="nn_socket.3compat.html">nn_socket()</a>. +This can be way to facilitate incremental transition to the new API. +</td> +</tr> +</table> +</div> <div class="admonitionblock note"> <table> <tr> @@ -582,24 +612,46 @@ While reasonable efforts have been made to provide for compatibility, some things may behave differently, and some less common parts of the <em>nanomsg</em> 1.0 API are not supported at this time, including certain options and the statistics API. +See the <a href="#_caveats">Caveats</a> section below. </td> </tr> </table> </div> -<div class="admonitionblock tip"> -<table> -<tr> -<td class="icon"> -<i class="fa icon-tip" title="Tip"></i> -</td> -<td class="content"> -If an installation of the older <em>nanomsg</em> library is present on -the build system, it may be necessary to provide a different search -path for header files to ensure that the compatibility definitions are -used in compilation. -</td> -</tr> -</table> +<div class="sect2"> +<h3 id="_compiling">Compiling</h3> +<div class="paragraph"> +<p>When compiling legacy <em>nanomsg</em> applications, it will generally be +necessary to change the include search path to add the “compat” subdirectory +of the directory where headers were installed. +For example, if <em>nng</em> is installed in <code>$prefix</code>, then header files will +normally be located in <code>$prefix/include/nng</code>. +In this case, to build legacy <em>nanomsg</em> apps against <em>nng</em> you would +add <code>$prefix/include/nng/compat</code> to your compiler’s search path.</p> +</div> +<div class="paragraph"> +<p>Alternatively, you can change your source code so that <code>#include</code> statements +referring to <code><nanomsg></code> instead refer to <code><nng/compat/nanomsg></code>. +For example, instead of:</p> +</div> +<div class="listingblock"> +<div class="content"> +<pre class="pygments highlight"><code data-lang="c"><span></span><span class="tok-cp">#include</span> <span class="tok-cpf"><nanomsg/nn.h></span><span class="tok-cp"></span> +<span class="tok-cp">#include</span> <span class="tok-cpf"><nanomsg/reqrep.h></span><span class="tok-cp"></span></code></pre> +</div> +</div> +<div class="paragraph"> +<p>you would have this:</p> +</div> +<div class="listingblock"> +<div class="content"> +<pre class="pygments highlight"><code data-lang="c"><span></span><span class="tok-cp">#include</span> <span class="tok-cpf"><nng/compat/nanomsg/nn.h></span><span class="tok-cp"></span> +<span class="tok-cp">#include</span> <span class="tok-cpf"><nng/compat/nanomsg/reqrep.h></span><span class="tok-cp"></span></code></pre> +</div> +</div> +<div class="paragraph"> +<p>Legacy applications built using these methods should be linked against <em>libnng</em> +instead of <em>libnn</em>, just like any other <em>nng</em> application.</p> +</div> </div> <div class="sect2"> <h3 id="_functions">Functions</h3> @@ -778,152 +830,81 @@ used in compilation. </tr> </table> </div> +</div> +<div class="sect2"> +<h3 id="_caveats">Caveats</h3> <div class="paragraph"> -<p>There are a few caveats, that should be kept in mind.</p> +<p>The following caveats apply when using the legacy API with <em>nng</em>.</p> </div> -<div class="admonitionblock note"> -<table> -<tr> -<td class="icon"> -<i class="fa icon-note" title="Note"></i> -</td> -<td class="content"> -Socket numbers can be quite large. +<div class="ulist"> +<ul> +<li> +<p>Socket numbers can be quite large. The legacy <em>libnanomsg</em> attempted to reuse socket numbers, like file descriptors in UNIX systems. The <em>nng</em> library avoids this to prevent accidental reuse or collision after a descriptor is closed. Consequently, socket numbers can become quite large, and should -probably not be used for array indices. -</td> -</tr> -</table> -</div> -<div class="admonitionblock note"> -<table> -<tr> -<td class="icon"> -<i class="fa icon-note" title="Note"></i> -</td> -<td class="content"> -The following options (<code>nn_getsockopt</code>) are unsupported: +probably not be used for array indices.</p> +</li> +<li> +<p>The following options (<code>nn_getsockopt</code>) are unsupported: <code>NN_SNDPRIO</code>, <code>NN_RCVPRIO</code>, <code>NN_IPV4ONLY</code>. The priority options may be supported in the future, when -the underlying capability is present in <em>nng</em>. -</td> -</tr> -</table> -</div> -<div class="admonitionblock note"> -<table> -<tr> -<td class="icon"> -<i class="fa icon-note" title="Note"></i> -</td> -<td class="content"> -Access to statistics using this legacy API -(<code><a href="nn_get_statistic.3compat.html">nn_get_statistic()</a></code>) is unsupported. -</td> -</tr> -</table> -</div> -<div class="admonitionblock note"> -<table> -<tr> -<td class="icon"> -<i class="fa icon-note" title="Note"></i> -</td> -<td class="content"> -Some transports can support longer URLs than legacy <em>libnanomsg</em> can. +the underlying capability is present in <em>nng</em>.</p> +</li> +<li> +<p>Access to statistics using this legacy API +(<code><a href="nn_get_statistic.3compat.html">nn_get_statistic()</a></code>) is unsupported.</p> +</li> +<li> +<p>Some transports can support longer URLs than legacy <em>libnanomsg</em> can. It is a good idea to use short pathnames in URLs if interoperability -is a concern. -</td> -</tr> -</table> -</div> -<div class="admonitionblock note"> -<table> -<tr> -<td class="icon"> -<i class="fa icon-note" title="Note"></i> -</td> -<td class="content"> -Only absolute paths are supported in <code>ipc://</code> URLs. -For example, <code>ipc:///tmp/mysocket</code> is acceptable, but <code>ipc://mysocket</code> is not. -</td> -</tr> -</table> -</div> -<div class="admonitionblock note"> -<table> -<tr> -<td class="icon"> -<i class="fa icon-note" title="Note"></i> -</td> -<td class="content"> -Some transports are unusable from this mode. +is a concern.</p> +</li> +<li> +<p>Only absolute paths are supported in <code>ipc://</code> URLs. +For example, <code>ipc:///tmp/mysocket</code> is acceptable, but <code>ipc://mysocket</code> is not.</p> +</li> +<li> +<p>The WebSocket transport in this implementation (<code>ws://</code> URLs) +only supports BINARY frames.</p> +</li> +<li> +<p>Some newer transports are unusable from this mode. In particular, this legacy API offers no way to configure -TLS parameters that are required for use. -</td> -</tr> -</table> -</div> -<div class="admonitionblock note"> -<table> -<tr> -<td class="icon"> -<i class="fa icon-note" title="Note"></i> -</td> -<td class="content"> -ABI versioning is not supported. -We don’t offer the <code>NN_VERSION_</code> macros. Sorry. -</td> -</tr> -</table> -</div> -<div class="admonitionblock note"> -<table> -<tr> -<td class="icon"> -<i class="fa icon-note" title="Note"></i> -</td> -<td class="content"> -Runtime symbol information is not implemented. +TLS or ZeroTier parameters that may be required for use.</p> +</li> +<li> +<p>ABI versioning of the compatibility layer is not supported, +and the <code>NN_VERSION_</code> macros are not present.</p> +</li> +<li> +<p>Runtime symbol information is not implemented. Specifically, there is no <code>nn_symbol()</code> function yet. -(This may be addressed later if there is a need.) -</td> -</tr> -</table> -</div> -<div class="admonitionblock important"> -<table> -<tr> -<td class="icon"> -<i class="fa icon-important" title="Important"></i> -</td> -<td class="content"> -The <code>nn_term()</code> function is destructive and should be avoided. -This function closes down all sockets, and really there is no good -reason to ever use it. -Removal from existing code is advised. -(Keep track of sockets and close them explicitly if necessary.) -</td> -</tr> -</table> -</div> -<div class="admonitionblock important"> -<table> -<tr> -<td class="icon"> -<i class="fa icon-important" title="Important"></i> -</td> -<td class="content"> -It <strong>is</strong> possible at present to intermix sockets between the new and -the old APIs, but this is not a guaranteed feature, and should only -be used temporarily to facilitate transitioning code to the new APIs. -</td> -</tr> -</table> +(This may be addressed later if there is a need.)</p> +</li> +<li> +<p>The TCP transport (<code>tcp://</code> URLs) does not support specifying the local +address or interface when binding. (This could be fixed in the future, +but most likely this will be available only using the new API.)</p> +</li> +<li> +<p>The values of <code>NN_RCVMAXSIZE</code> are constrained. +Specifically, values set larger than 2GB using the new API will be reported +as unlimited (<code>-1</code>) in the new API, and the value <code>0</code> will disable any +enforcement, just like <code>-1</code>. +(There is no practical reason to ever want to limit the receive size to +zero.)</p> +</li> +<li> +<p>This implementation counts buffers in terms of messages rather than bytes. +As a result, the buffer sizes accessed with <code>NN_SNDBUF</code> and <code>NN_RCVBUF</code> are +rounded up to a whole number of kilobytes, then divided by 1024, in order +to approximate buffering assuming 1 KB messages. +Few applications should need to adjust the default values.</p> +</li> +</ul> </div> </div> </div> @@ -931,7 +912,7 @@ be used temporarily to facilitate transitioning code to the new APIs. <div class="sect1"> <h2 id="_see_also">SEE ALSO</h2> <div class="sectionbody"> -<div class="paragraph"> +<div class="paragraph text-left"> <p><a href="libnng.3.html">libnng(3)</a>, <a href="nng.7.html">nng(7)</a></p> </div> diff --git a/man/tip/nng_ctx.5.html b/man/tip/nng_ctx.5.html index 925d083f..8b5e6f0f 100644 --- a/man/tip/nng_ctx.5.html +++ b/man/tip/nng_ctx.5.html @@ -632,11 +632,11 @@ applications, and should be used in lieu of </tr> </table> </div> -<div class="admonitionblock warning"> +<div class="admonitionblock important"> <table> <tr> <td class="icon"> -<i class="fa icon-warning" title="Warning"></i> +<i class="fa icon-important" title="Important"></i> </td> <td class="content"> Use of file descriptor polling (with descriptors @@ -736,7 +736,7 @@ or <code><a href="nng_listen.3.html">nng_listen()</a></code>.</p> <div class="sect1"> <h2 id="_see_also">SEE ALSO</h2> <div class="sectionbody"> -<div class="paragraph"> +<div class="paragraph text-left"> <p><a href="libnng.3.html">libnng(3)</a>, <a href="nng_ctx_close.3.html">nng_ctx_close(3)</a>, <a href="nng_ctx_open.3.html">nng_ctx_open(3)</a>, diff --git a/man/tip/nng_ctx_close.3.html b/man/tip/nng_ctx_close.3.html index 49c95a85..a275ef1c 100644 --- a/man/tip/nng_ctx_close.3.html +++ b/man/tip/nng_ctx_close.3.html @@ -573,20 +573,24 @@ Closing the socket associated with <em>ctx</em> <div class="sect1"> <h2 id="_errors">ERRORS</h2> <div class="sectionbody"> -<div class="dlist"> -<dl> -<dt class="hdlist1"><code>NNG_ECLOSED</code></dt> -<dd> +<div class="hdlist"> +<table> +<tr> +<td class="hdlist1"> +<code>NNG_ECLOSED</code> +</td> +<td class="hdlist2"> <p>The context <em>ctx</em> is already closed or was never opened.</p> -</dd> -</dl> +</td> +</tr> +</table> </div> </div> </div> <div class="sect1"> <h2 id="_see_also">SEE ALSO</h2> <div class="sectionbody"> -<div class="paragraph"> +<div class="paragraph text-left"> <p><a href="nng_ctx_open.3.html">nng_ctx_open(3)</a>, <a href="nng_strerror.3.html">nng_strerror(3)</a>, <a href="nng_ctx.5.html">nng_ctx(5)</a>, diff --git a/man/tip/nng_ctx_getopt.3.html b/man/tip/nng_ctx_getopt.3.html index fd01442a..7288e6c3 100644 --- a/man/tip/nng_ctx_getopt.3.html +++ b/man/tip/nng_ctx_getopt.3.html @@ -604,10 +604,10 @@ and the size of the buffer shall be stored at the location referenced by <div class="paragraph"> <p>When the function returns, the actual size of the data copied (or that would have been copied if sufficient space were present) is stored at -the location referened by <em>valszp</em>. +the location referenced by <em>valszp</em>. If the caller’s buffer is not large enough to hold the entire object, then the copy is truncated. -Therefore the caller should check for truncation by verifyng that the +Therefore the caller should check for truncation by verifying that the returned size in <em>valszp</em> does not exceed the original buffer size.</p> </div> <div class="paragraph"> @@ -619,7 +619,7 @@ the object.</p> <div class="sect3"> <h4 id="_code_nng_ctx_getopt_bool_code"><code>nng_ctx_getopt_bool()</code></h4> <div class="paragraph"> -<p>This function is for options which take a boolean (<code>bool</code>). +<p>This function is for options which take a Boolean (<code>bool</code>). The value will be stored at <em>ivalp</em>.</p> </div> </div> @@ -678,40 +678,64 @@ numbers, and similar.</p> <div class="sect1"> <h2 id="_errors">ERRORS</h2> <div class="sectionbody"> -<div class="dlist"> -<dl> -<dt class="hdlist1"><code>NNG_EBADTYPE</code></dt> -<dd> +<div class="hdlist"> +<table> +<tr> +<td class="hdlist1"> +<code>NNG_EBADTYPE</code> +</td> +<td class="hdlist2"> <p>Incorrect type for option.</p> -</dd> -<dt class="hdlist1"><code>NNG_ECLOSED</code></dt> -<dd> +</td> +</tr> +<tr> +<td class="hdlist1"> +<code>NNG_ECLOSED</code> +</td> +<td class="hdlist2"> <p>Parameter <em>s</em> does not refer to an open socket.</p> -</dd> -<dt class="hdlist1"><code>NNG_EINVAL</code></dt> -<dd> +</td> +</tr> +<tr> +<td class="hdlist1"> +<code>NNG_EINVAL</code> +</td> +<td class="hdlist2"> <p>Size of destination <em>val</em> too small for object.</p> -</dd> -<dt class="hdlist1"><code>NNG_ENOMEM</code></dt> -<dd> +</td> +</tr> +<tr> +<td class="hdlist1"> +<code>NNG_ENOMEM</code> +</td> +<td class="hdlist2"> <p>Insufficient memory exists.</p> -</dd> -<dt class="hdlist1"><code>NNG_ENOTSUP</code></dt> -<dd> +</td> +</tr> +<tr> +<td class="hdlist1"> +<code>NNG_ENOTSUP</code> +</td> +<td class="hdlist2"> <p>The option <em>opt</em> is not supported.</p> -</dd> -<dt class="hdlist1"><code>NNG_EWRITEONLY</code></dt> -<dd> +</td> +</tr> +<tr> +<td class="hdlist1"> +<code>NNG_EWRITEONLY</code> +</td> +<td class="hdlist2"> <p>The option <em>opt</em> is write-only.</p> -</dd> -</dl> +</td> +</tr> +</table> </div> </div> </div> <div class="sect1"> <h2 id="_see_also">SEE ALSO</h2> <div class="sectionbody"> -<div class="paragraph"> +<div class="paragraph text-left"> <p><a href="nng_ctx_setopt.3.html">nng_ctx_setopt(3)</a>, <a href="nng_strdup.3.html">nng_strdup(3)</a>, <a href="nng_strerror.3.html">nng_strerror(3)</a>, diff --git a/man/tip/nng_ctx_id.3.html b/man/tip/nng_ctx_id.3.html index e391ce11..117237e7 100644 --- a/man/tip/nng_ctx_id.3.html +++ b/man/tip/nng_ctx_id.3.html @@ -579,7 +579,7 @@ they cannot be confused with a valid context before they are opened. <div class="sect1"> <h2 id="_see_also">SEE ALSO</h2> <div class="sectionbody"> -<div class="paragraph"> +<div class="paragraph text-left"> <p><a href="nng_ctx.5.html">nng_ctx(5)</a>, <a href="nng.7.html">nng(7)</a></p> </div> diff --git a/man/tip/nng_ctx_open.3.html b/man/tip/nng_ctx_open.3.html index 20b582cd..fca18f25 100644 --- a/man/tip/nng_ctx_open.3.html +++ b/man/tip/nng_ctx_open.3.html @@ -592,24 +592,32 @@ nonsensical, and not supported. <div class="sect1"> <h2 id="_errors">ERRORS</h2> <div class="sectionbody"> -<div class="dlist"> -<dl> -<dt class="hdlist1"><code>NNG_ENOMEM</code></dt> -<dd> +<div class="hdlist"> +<table> +<tr> +<td class="hdlist1"> +<code>NNG_ENOMEM</code> +</td> +<td class="hdlist2"> <p>Insufficient memory is available.</p> -</dd> -<dt class="hdlist1"><code>NNG_ENOTSUP</code></dt> -<dd> +</td> +</tr> +<tr> +<td class="hdlist1"> +<code>NNG_ENOTSUP</code> +</td> +<td class="hdlist2"> <p>The protocol does not support separate contexts, or the socket was opened in raw mode.</p> -</dd> -</dl> +</td> +</tr> +</table> </div> </div> </div> <div class="sect1"> <h2 id="_see_also">SEE ALSO</h2> <div class="sectionbody"> -<div class="paragraph"> +<div class="paragraph text-left"> <p><a href="nng_ctx_close.3.html">nng_ctx_close(3)</a>, <a href="nng_ctx_getopt.3.html">nng_ctx_getopt(3)</a>, <a href="nng_ctx_recv.3.html">nng_ctx_recv(3)</a>, diff --git a/man/tip/nng_ctx_recv.3.html b/man/tip/nng_ctx_recv.3.html index eb02ae8d..fcee6107 100644 --- a/man/tip/nng_ctx_recv.3.html +++ b/man/tip/nng_ctx_recv.3.html @@ -594,40 +594,64 @@ protocol, so examination of the protocol documentation is encouraged. <div class="sect1"> <h2 id="_errors">ERRORS</h2> <div class="sectionbody"> -<div class="dlist"> -<dl> -<dt class="hdlist1"><code>NNG_ECANCELED</code></dt> -<dd> +<div class="hdlist"> +<table> +<tr> +<td class="hdlist1"> +<code>NNG_ECANCELED</code> +</td> +<td class="hdlist2"> <p>The operation was aborted.</p> -</dd> -<dt class="hdlist1"><code>NNG_ECLOSED</code></dt> -<dd> +</td> +</tr> +<tr> +<td class="hdlist1"> +<code>NNG_ECLOSED</code> +</td> +<td class="hdlist2"> <p>The context <em>ctx</em> is not open.</p> -</dd> -<dt class="hdlist1"><code>NNG_ENOMEM</code></dt> -<dd> +</td> +</tr> +<tr> +<td class="hdlist1"> +<code>NNG_ENOMEM</code> +</td> +<td class="hdlist2"> <p>Insufficient memory is available.</p> -</dd> -<dt class="hdlist1"><code>NNG_ENOTSUP</code></dt> -<dd> +</td> +</tr> +<tr> +<td class="hdlist1"> +<code>NNG_ENOTSUP</code> +</td> +<td class="hdlist2"> <p>The protocol for context <em>ctx</em> does not support receiving.</p> -</dd> -<dt class="hdlist1"><code>NNG_ESTATE</code></dt> -<dd> +</td> +</tr> +<tr> +<td class="hdlist1"> +<code>NNG_ESTATE</code> +</td> +<td class="hdlist2"> <p>The context <em>ctx</em> cannot receive data in this state.</p> -</dd> -<dt class="hdlist1"><code>NNG_ETIMEDOUT</code></dt> -<dd> +</td> +</tr> +<tr> +<td class="hdlist1"> +<code>NNG_ETIMEDOUT</code> +</td> +<td class="hdlist2"> <p>The receive timeout expired.</p> -</dd> -</dl> +</td> +</tr> +</table> </div> </div> </div> <div class="sect1"> <h2 id="_see_also">SEE ALSO</h2> <div class="sectionbody"> -<div class="paragraph"> +<div class="paragraph text-left"> <p><a href="nng_aio_get_msg.3.html">nng_aio_get_msg(3)</a>, <a href="nng_aio_set_msg.3.html">nng_aio_set_msg(3)</a>, <a href="nng_msg_alloc.3.html">nng_msg_alloc(3)</a>, diff --git a/man/tip/nng_ctx_send.3.html b/man/tip/nng_ctx_send.3.html index 72bd2761..83452e5c 100644 --- a/man/tip/nng_ctx_send.3.html +++ b/man/tip/nng_ctx_send.3.html @@ -571,7 +571,7 @@ socket, or in flight over physical media. <p>If the operation fails for any reason (including cancellation or timeout), then the <em>aio</em> callback will be executed and <code><a href="nng_aio_result.3.html">nng_aio_result()</a></code> will return a non-zero error status. -In this case, the callback has a responsibity to retrieve the message from +In this case, the callback has a responsibility to retrieve the message from the <em>aio</em> with <code><a href="nng_aio_get_msg.3.html">nng_aio_get_msg()</a></code> and dispose of it appropriately. (This may include retrying the send operation on the same or a different @@ -618,44 +618,72 @@ If a synchronous operation is needed, one can be constructed by using a <div class="sect1"> <h2 id="_errors">ERRORS</h2> <div class="sectionbody"> -<div class="dlist"> -<dl> -<dt class="hdlist1"><code>NNG_ECANCELED</code></dt> -<dd> +<div class="hdlist"> +<table> +<tr> +<td class="hdlist1"> +<code>NNG_ECANCELED</code> +</td> +<td class="hdlist2"> <p>The operation was aborted.</p> -</dd> -<dt class="hdlist1"><code>NNG_ECLOSED</code></dt> -<dd> +</td> +</tr> +<tr> +<td class="hdlist1"> +<code>NNG_ECLOSED</code> +</td> +<td class="hdlist2"> <p>The context <em>ctx</em> is not open.</p> -</dd> -<dt class="hdlist1"><code>NNG_EMSGSIZE</code></dt> -<dd> +</td> +</tr> +<tr> +<td class="hdlist1"> +<code>NNG_EMSGSIZE</code> +</td> +<td class="hdlist2"> <p>The message is too large.</p> -</dd> -<dt class="hdlist1"><code>NNG_ENOMEM</code></dt> -<dd> +</td> +</tr> +<tr> +<td class="hdlist1"> +<code>NNG_ENOMEM</code> +</td> +<td class="hdlist2"> <p>Insufficient memory is available.</p> -</dd> -<dt class="hdlist1"><code>NNG_ENOTSUP</code></dt> -<dd> +</td> +</tr> +<tr> +<td class="hdlist1"> +<code>NNG_ENOTSUP</code> +</td> +<td class="hdlist2"> <p>The protocol for context <em>ctx</em> does not support sending.</p> -</dd> -<dt class="hdlist1"><code>NNG_ESTATE</code></dt> -<dd> +</td> +</tr> +<tr> +<td class="hdlist1"> +<code>NNG_ESTATE</code> +</td> +<td class="hdlist2"> <p>The context <em>ctx</em> cannot send data in this state.</p> -</dd> -<dt class="hdlist1"><code>NNG_ETIMEDOUT</code></dt> -<dd> +</td> +</tr> +<tr> +<td class="hdlist1"> +<code>NNG_ETIMEDOUT</code> +</td> +<td class="hdlist2"> <p>The send timeout expired.</p> -</dd> -</dl> +</td> +</tr> +</table> </div> </div> </div> <div class="sect1"> <h2 id="_see_also">SEE ALSO</h2> <div class="sectionbody"> -<div class="paragraph"> +<div class="paragraph text-left"> <p><a href="nng_aio_get_msg.3.html">nng_aio_get_msg(3)</a>, <a href="nng_aio_set_msg.3.html">nng_aio_set_msg(3)</a>, <a href="nng_msg_alloc.3.html">nng_msg_alloc(3)</a>, diff --git a/man/tip/nng_ctx_setopt.3.html b/man/tip/nng_ctx_setopt.3.html index a23aded5..7d9b06bc 100644 --- a/man/tip/nng_ctx_setopt.3.html +++ b/man/tip/nng_ctx_setopt.3.html @@ -601,7 +601,7 @@ size of the objected located at <em>val</em>.</p> <div class="sect3"> <h4 id="_code_nng_ctx_setopt_bool_code"><code>nng_ctx_setopt_bool()</code></h4> <div class="paragraph"> -<p>This function is for options which take a boolean (<code>bool</code>). +<p>This function is for options which take a Boolean (<code>bool</code>). The <em>bval</em> is passed to the option.</p> </div> </div> @@ -659,36 +659,56 @@ and similar.</p> <div class="sect1"> <h2 id="_errors">ERRORS</h2> <div class="sectionbody"> -<div class="dlist"> -<dl> -<dt class="hdlist1"><code>NNG_ECLOSED</code></dt> -<dd> +<div class="hdlist"> +<table> +<tr> +<td class="hdlist1"> +<code>NNG_ECLOSED</code> +</td> +<td class="hdlist2"> <p>Parameter <em>s</em> does not refer to an open socket.</p> -</dd> -<dt class="hdlist1"><code>NNG_EINVAL</code></dt> -<dd> +</td> +</tr> +<tr> +<td class="hdlist1"> +<code>NNG_EINVAL</code> +</td> +<td class="hdlist2"> <p>The value being passed is invalid.</p> -</dd> -<dt class="hdlist1"><code>NNG_ENOTSUP</code></dt> -<dd> +</td> +</tr> +<tr> +<td class="hdlist1"> +<code>NNG_ENOTSUP</code> +</td> +<td class="hdlist2"> <p>The option <em>opt</em> is not supported.</p> -</dd> -<dt class="hdlist1"><code>NNG_EREADONLY</code></dt> -<dd> +</td> +</tr> +<tr> +<td class="hdlist1"> +<code>NNG_EREADONLY</code> +</td> +<td class="hdlist2"> <p>The option <em>opt</em> is read-only.</p> -</dd> -<dt class="hdlist1"><code>NNG_ESTATE</code></dt> -<dd> +</td> +</tr> +<tr> +<td class="hdlist1"> +<code>NNG_ESTATE</code> +</td> +<td class="hdlist2"> <p>The socket is in an inappropriate state for setting this option.</p> -</dd> -</dl> +</td> +</tr> +</table> </div> </div> </div> <div class="sect1"> <h2 id="_see_also">SEE ALSO</h2> <div class="sectionbody"> -<div class="paragraph"> +<div class="paragraph text-left"> <p><a href="nng_ctx_getopt.3.html">nng_ctx_getopt(3)</a>, <a href="nng_setopt.3.html">nng_setopt(3)</a>, <a href="nng_strerror.3.html">nng_strerror(3)</a>, diff --git a/man/tip/nng_cv_alloc.3supp.html b/man/tip/nng_cv_alloc.3supp.html index dee2f4de..0e8e8a15 100644 --- a/man/tip/nng_cv_alloc.3supp.html +++ b/man/tip/nng_cv_alloc.3supp.html @@ -564,20 +564,24 @@ The mutex must also be owned when signaling the condition using the <div class="sect1"> <h2 id="_errors">ERRORS</h2> <div class="sectionbody"> -<div class="dlist"> -<dl> -<dt class="hdlist1"><code>NNG_ENOMEM</code></dt> -<dd> +<div class="hdlist"> +<table> +<tr> +<td class="hdlist1"> +<code>NNG_ENOMEM</code> +</td> +<td class="hdlist2"> <p>Insufficient free memory exists.</p> -</dd> -</dl> +</td> +</tr> +</table> </div> </div> </div> <div class="sect1"> <h2 id="_see_also">SEE ALSO</h2> <div class="sectionbody"> -<div class="paragraph"> +<div class="paragraph text-left"> <p><a href="nng_cv_free.3supp.html">nng_cv_free(3supp)</a>, <a href="nng_cv_until.3supp.html">nng_cv_until(3supp)</a>, <a href="nng_cv_wait.3supp.html">nng_cv_wait(3supp)</a>, diff --git a/man/tip/nng_cv_free.3supp.html b/man/tip/nng_cv_free.3supp.html index a67b52e1..ea484ad1 100644 --- a/man/tip/nng_cv_free.3supp.html +++ b/man/tip/nng_cv_free.3supp.html @@ -560,7 +560,7 @@ body.book #toc,body.book #preamble,body.book h1.sect0,body.book .sect1>h2{page-b <div class="sect1"> <h2 id="_see_also">SEE ALSO</h2> <div class="sectionbody"> -<div class="paragraph"> +<div class="paragraph text-left"> <p><a href="nng_cv_alloc.3supp.html">nng_cv_alloc(3supp)</a>, <a href="nng.7.html">nng(7)</a></p> </div> diff --git a/man/tip/nng_cv_until.3supp.html b/man/tip/nng_cv_until.3supp.html index c5873492..9331a092 100644 --- a/man/tip/nng_cv_until.3supp.html +++ b/man/tip/nng_cv_until.3supp.html @@ -618,7 +618,7 @@ tests for true. <div class="sect1"> <h2 id="_see_also">SEE ALSO</h2> <div class="sectionbody"> -<div class="paragraph"> +<div class="paragraph text-left"> <p><a href="nng_cv_alloc.3supp.html">nng_cv_alloc(3supp)</a>, <a href="nng_cv_wait.3supp.html">nng_cv_wait(3supp)</a>, <a href="nng_cv_wake.3supp.html">nng_cv_wake(3supp)</a>, diff --git a/man/tip/nng_cv_wait.3supp.html b/man/tip/nng_cv_wait.3supp.html index 044f4420..23b0332a 100644 --- a/man/tip/nng_cv_wait.3supp.html +++ b/man/tip/nng_cv_wait.3supp.html @@ -614,7 +614,7 @@ tests for true. <div class="sect1"> <h2 id="_see_also">SEE ALSO</h2> <div class="sectionbody"> -<div class="paragraph"> +<div class="paragraph text-left"> <p><a href="nng_cv_alloc.3supp.html">nng_cv_alloc(3supp)</a>, <a href="nng_cv_until.3supp.html">nng_cv_until(3supp)</a>, <a href="nng_cv_wake.3supp.html">nng_cv_wake(3supp)</a>, diff --git a/man/tip/nng_cv_wake.3supp.html b/man/tip/nng_cv_wake.3supp.html index 72387fd8..7b7be37b 100644 --- a/man/tip/nng_cv_wake.3supp.html +++ b/man/tip/nng_cv_wake.3supp.html @@ -594,7 +594,7 @@ See <code><a href="nng_cv_wake1.3supp.html">nng_cv_wake1()</a></code> for a solu <div class="sect1"> <h2 id="_see_also">SEE ALSO</h2> <div class="sectionbody"> -<div class="paragraph"> +<div class="paragraph text-left"> <p><a href="nng_cv_alloc.3supp.html">nng_cv_alloc(3supp)</a>, <a href="nng_cv_until.3supp.html">nng_cv_until(3supp)</a>, <a href="nng_cv_wait.3supp.html">nng_cv_wait(3supp)</a>, diff --git a/man/tip/nng_cv_wake1.3supp.html b/man/tip/nng_cv_wake1.3supp.html index c0b271de..9d55d5db 100644 --- a/man/tip/nng_cv_wake1.3supp.html +++ b/man/tip/nng_cv_wake1.3supp.html @@ -595,7 +595,7 @@ When in doubt, it is safer to use <code><a href="nng_cv_wake.3supp.html">nng_cv_ <div class="sect1"> <h2 id="_see_also">SEE ALSO</h2> <div class="sectionbody"> -<div class="paragraph"> +<div class="paragraph text-left"> <p><a href="nng_cv_alloc.3supp.html">nng_cv_alloc(3supp)</a>, <a href="nng_cv_until.3supp.html">nng_cv_until(3supp)</a>, <a href="nng_cv_wait.3supp.html">nng_cv_wait(3supp)</a>, diff --git a/man/tip/nng_device.3.html b/man/tip/nng_device.3.html index 6d7a71bb..93997e8f 100644 --- a/man/tip/nng_device.3.html +++ b/man/tip/nng_device.3.html @@ -563,9 +563,9 @@ is closed.</p> <div class="sect2"> <h3 id="_reflectors">Reflectors</h3> <div class="paragraph"> -<p>One of the sockets may be passed an inititalize <code>-1</code> (cast to an, -<code><a href="nng_socket.5.html">nng_socket</a></code> of course). -If this is the case, then the other socket must be valid, and must be +<p>One of the sockets passed may be an unopened socket initialized with +the <code>NNG_SOCKET_INITIALIZER</code> special value. +If this is the case, then the other socket must be valid, and must use a protocol that is bidirectional and can peer with itself (such as <a href="nng_pair.7.html"><em>pair</em></a> or <a href="nng_bus.7.html"><em>bus</em></a>.) @@ -600,7 +600,7 @@ header of the output bound message. The underlying raw mode protocols supply the necessary header adjustments to add or remove routing headers as needed. This allows replies to be -returned to requestors, and responses to be routed back to surveyors.</p> +returned to requesters, and responses to be routed back to surveyors.</p> </div> <div class="paragraph"> <p>Additionally, some protocols have a maximum time-to-live to protect @@ -620,7 +620,7 @@ option.</p> </td> <td class="content"> Not all protocols have support for guarding against forwarding loops, -and even for those that do, forwarding loops can be extremely determintal +and even for those that do, forwarding loops can be extremely detrimental to network performance. </td> </tr> @@ -648,7 +648,7 @@ other (due to backpressure or other issues), then the message is discarded. </td> <td class="content"> Use the request/reply pattern, which includes automatic retries by -the requestor, if reliable delivery is needed. +the requester, if reliable delivery is needed. </td> </tr> </table> @@ -668,28 +668,40 @@ one occurs, or if one of the sockets is closed.</p> <div class="sect1"> <h2 id="_errors">ERRORS</h2> <div class="sectionbody"> -<div class="dlist"> -<dl> -<dt class="hdlist1"><code>NNG_ECLOSED</code></dt> -<dd> +<div class="hdlist"> +<table> +<tr> +<td class="hdlist1"> +<code>NNG_ECLOSED</code> +</td> +<td class="hdlist2"> <p>At least one of the sockets is not open.</p> -</dd> -<dt class="hdlist1"><code>NNG_ENOMEM</code></dt> -<dd> +</td> +</tr> +<tr> +<td class="hdlist1"> +<code>NNG_ENOMEM</code> +</td> +<td class="hdlist2"> <p>Insufficient memory is available.</p> -</dd> -<dt class="hdlist1"><code>NNG_EINVAL</code></dt> -<dd> +</td> +</tr> +<tr> +<td class="hdlist1"> +<code>NNG_EINVAL</code> +</td> +<td class="hdlist2"> <p>The sockets are not compatible, or are both invalid.</p> -</dd> -</dl> +</td> +</tr> +</table> </div> </div> </div> <div class="sect1"> <h2 id="_see_also">SEE ALSO</h2> <div class="sectionbody"> -<div class="paragraph"> +<div class="paragraph text-left"> <p><a href="nng_options.5.html">nng_options(5)</a>, <a href="nng_socket.5.html">nng_socket(5)</a>, <a href="nng.7.html">nng(7)</a></p> diff --git a/man/tip/nng_dial.3.html b/man/tip/nng_dial.3.html index abff9cb1..b0a09546 100644 --- a/man/tip/nng_dial.3.html +++ b/man/tip/nng_dial.3.html @@ -615,52 +615,88 @@ using <code><a href="nng_dialer_create.3.html">nng_dialer_create()</a></code> an <div class="sect1"> <h2 id="_errors">ERRORS</h2> <div class="sectionbody"> -<div class="dlist"> -<dl> -<dt class="hdlist1"><code>NNG_EADDRINVAL</code></dt> -<dd> +<div class="hdlist"> +<table> +<tr> +<td class="hdlist1"> +<code>NNG_EADDRINVAL</code> +</td> +<td class="hdlist2"> <p>An invalid <em>url</em> was specified.</p> -</dd> -<dt class="hdlist1"><code>NNG_ECLOSED</code></dt> -<dd> +</td> +</tr> +<tr> +<td class="hdlist1"> +<code>NNG_ECLOSED</code> +</td> +<td class="hdlist2"> <p>The socket <em>s</em> is not open.</p> -</dd> -<dt class="hdlist1"><code>NNG_ECONNREFUSED</code></dt> -<dd> +</td> +</tr> +<tr> +<td class="hdlist1"> +<code>NNG_ECONNREFUSED</code> +</td> +<td class="hdlist2"> <p>The remote peer refused the connection.</p> -</dd> -<dt class="hdlist1"><code>NNG_ECONNRESET</code></dt> -<dd> +</td> +</tr> +<tr> +<td class="hdlist1"> +<code>NNG_ECONNRESET</code> +</td> +<td class="hdlist2"> <p>The remote peer reset the connection.</p> -</dd> -<dt class="hdlist1"><code>NNG_EINVAL</code></dt> -<dd> +</td> +</tr> +<tr> +<td class="hdlist1"> +<code>NNG_EINVAL</code> +</td> +<td class="hdlist2"> <p>An invalid set of <em>flags</em> was specified.</p> -</dd> -<dt class="hdlist1"><code>NNG_ENOMEM</code></dt> -<dd> +</td> +</tr> +<tr> +<td class="hdlist1"> +<code>NNG_ENOMEM</code> +</td> +<td class="hdlist2"> <p>Insufficient memory is available.</p> -</dd> -<dt class="hdlist1"><code>NNG_EPEERAUTH</code></dt> -<dd> +</td> +</tr> +<tr> +<td class="hdlist1"> +<code>NNG_EPEERAUTH</code> +</td> +<td class="hdlist2"> <p>Authentication or authorization failure.</p> -</dd> -<dt class="hdlist1"><code>NNG_EPROTO</code></dt> -<dd> +</td> +</tr> +<tr> +<td class="hdlist1"> +<code>NNG_EPROTO</code> +</td> +<td class="hdlist2"> <p>A protocol error occurred.</p> -</dd> -<dt class="hdlist1"><code>NNG_EUNREACHABLE</code></dt> -<dd> +</td> +</tr> +<tr> +<td class="hdlist1"> +<code>NNG_EUNREACHABLE</code> +</td> +<td class="hdlist2"> <p>The remote address is not reachable.</p> -</dd> -</dl> +</td> +</tr> +</table> </div> </div> </div> <div class="sect1"> <h2 id="_see_also">SEE ALSO</h2> <div class="sectionbody"> -<div class="paragraph"> +<div class="paragraph text-left"> <p><a href="nng_dialer_close.3.html">nng_dialer_close(3)</a>, <a href="nng_dialer_create.3.html">nng_dialer_create(3)</a> <a href="nng_dialer_start.3.html">nng_dialer_start(3)</a>, diff --git a/man/tip/nng_dialer.5.html b/man/tip/nng_dialer.5.html index fda23272..c5c2a794 100644 --- a/man/tip/nng_dialer.5.html +++ b/man/tip/nng_dialer.5.html @@ -617,7 +617,7 @@ before it is opened, to prevent confusion with valid open dialers.</p> <div class="sect1"> <h2 id="_see_also">SEE ALSO</h2> <div class="sectionbody"> -<div class="paragraph"> +<div class="paragraph text-left"> <p><a href="nng_dial.3.html">nng_dial(3)</a>, <a href="nng_dialer_close.3.html">nng_dialer_close(3)</a>, <a href="nng_dialer_create.3.html">nng_dialer_create(3)</a>, diff --git a/man/tip/nng_dialer_close.3.html b/man/tip/nng_dialer_close.3.html index c254cde0..44cbad27 100644 --- a/man/tip/nng_dialer_close.3.html +++ b/man/tip/nng_dialer_close.3.html @@ -537,7 +537,7 @@ body.book #toc,body.book #preamble,body.book h1.sect0,body.book .sect1>h2{page-b <div class="sectionbody"> <div class="paragraph"> <p>The <code>nng_dialer_close()</code> function closes the listener <em>d</em>. -This also closes any <code><a href="nng_pipe.5.html">nng_pipe</a></code> ojects that have +This also closes any <code><a href="nng_pipe.5.html">nng_pipe</a></code> objects that have been created by the dialer.</p> </div> <div class="paragraph"> @@ -563,20 +563,24 @@ this function has returned. <div class="sect1"> <h2 id="_errors">ERRORS</h2> <div class="sectionbody"> -<div class="dlist"> -<dl> -<dt class="hdlist1"><code>NNG_ECLOSED</code></dt> -<dd> +<div class="hdlist"> +<table> +<tr> +<td class="hdlist1"> +<code>NNG_ECLOSED</code> +</td> +<td class="hdlist2"> <p>Parameter <em>d</em> does not refer to an open listener.</p> -</dd> -</dl> +</td> +</tr> +</table> </div> </div> </div> <div class="sect1"> <h2 id="_see_also">SEE ALSO</h2> <div class="sectionbody"> -<div class="paragraph"> +<div class="paragraph text-left"> <p><a href="nng_close.3.html">nng_close(3)</a>, <a href="nng_dial.3.html">nng_dial(3)</a>, <a href="nng_dialer_create.3.html">nng_dialer_create(3)</a> diff --git a/man/tip/nng_dialer_create.3.html b/man/tip/nng_dialer_create.3.html index 4301b09d..fcf8e01b 100644 --- a/man/tip/nng_dialer_create.3.html +++ b/man/tip/nng_dialer_create.3.html @@ -603,28 +603,40 @@ simpler <code><a href="nng_dial.3.html">nng_dial()</a></code> function instead. <div class="sect1"> <h2 id="_errors">ERRORS</h2> <div class="sectionbody"> -<div class="dlist"> -<dl> -<dt class="hdlist1"><code>NNG_EADDRINVAL</code></dt> -<dd> +<div class="hdlist"> +<table> +<tr> +<td class="hdlist1"> +<code>NNG_EADDRINVAL</code> +</td> +<td class="hdlist2"> <p>An invalid <em>url</em> was specified.</p> -</dd> -<dt class="hdlist1"><code>NNG_ECLOSED</code></dt> -<dd> +</td> +</tr> +<tr> +<td class="hdlist1"> +<code>NNG_ECLOSED</code> +</td> +<td class="hdlist2"> <p>The socket <em>s</em> is not open.</p> -</dd> -<dt class="hdlist1"><code>NNG_ENOMEM</code></dt> -<dd> +</td> +</tr> +<tr> +<td class="hdlist1"> +<code>NNG_ENOMEM</code> +</td> +<td class="hdlist2"> <p>Insufficient memory is available.</p> -</dd> -</dl> +</td> +</tr> +</table> </div> </div> </div> <div class="sect1"> <h2 id="_see_also">SEE ALSO</h2> <div class="sectionbody"> -<div class="paragraph"> +<div class="paragraph text-left"> <p><a href="nng_dial.3.html">nng_dial(3)</a>, <a href="nng_dialer_close.3.html">nng_dialer_close(3)</a>, <a href="nng_dialer_getopt.3.html">nng_dialer_getopt(3)</a>, diff --git a/man/tip/nng_dialer_getopt.3.html b/man/tip/nng_dialer_getopt.3.html index 8336b932..8e118858 100644 --- a/man/tip/nng_dialer_getopt.3.html +++ b/man/tip/nng_dialer_getopt.3.html @@ -600,7 +600,7 @@ by <em>valszp</em>.</p> <div class="paragraph"> <p>When the function returns, the actual size of the data copied (or that would have been copied if sufficient space were present) is stored at -the location referened by <em>valszp</em>. +the location referenced by <em>valszp</em>. If the caller’s buffer is not large enough to hold the entire object, then the copy is truncated. Therefore the caller should validate that the returned size in <em>valszp</em> does not @@ -615,7 +615,7 @@ the object.</p> <div class="sect3"> <h4 id="_code_nng_dialer_getopt_bool_code"><code>nng_dialer_getopt_bool()</code></h4> <div class="paragraph"> -<p>This function is for options which take a boolean (<code>bool</code>). +<p>This function is for options which take a Boolean (<code>bool</code>). The value will be stored at <em>bvalp</em>.</p> </div> </div> @@ -690,40 +690,64 @@ numbers, and similar.</p> <div class="sect1"> <h2 id="_errors">ERRORS</h2> <div class="sectionbody"> -<div class="dlist"> -<dl> -<dt class="hdlist1"><code>NNG_EBADTYPE</code></dt> -<dd> +<div class="hdlist"> +<table> +<tr> +<td class="hdlist1"> +<code>NNG_EBADTYPE</code> +</td> +<td class="hdlist2"> <p>Incorrect type for option.</p> -</dd> -<dt class="hdlist1"><code>NNG_ECLOSED</code></dt> -<dd> +</td> +</tr> +<tr> +<td class="hdlist1"> +<code>NNG_ECLOSED</code> +</td> +<td class="hdlist2"> <p>Parameter <em>d</em> does not refer to an open dialer.</p> -</dd> -<dt class="hdlist1"><code>NNG_EINVAL</code></dt> -<dd> +</td> +</tr> +<tr> +<td class="hdlist1"> +<code>NNG_EINVAL</code> +</td> +<td class="hdlist2"> <p>Size of destination <em>val</em> too small for object.</p> -</dd> -<dt class="hdlist1"><code>NNG_ENOMEM</code></dt> -<dd> +</td> +</tr> +<tr> +<td class="hdlist1"> +<code>NNG_ENOMEM</code> +</td> +<td class="hdlist2"> <p>Insufficient memory exists.</p> -</dd> -<dt class="hdlist1"><code>NNG_ENOTSUP</code></dt> -<dd> +</td> +</tr> +<tr> +<td class="hdlist1"> +<code>NNG_ENOTSUP</code> +</td> +<td class="hdlist2"> <p>The option <em>opt</em> is not supported.</p> -</dd> -<dt class="hdlist1"><code>NNG_EWRITEONLY</code></dt> -<dd> +</td> +</tr> +<tr> +<td class="hdlist1"> +<code>NNG_EWRITEONLY</code> +</td> +<td class="hdlist2"> <p>The option <em>opt</em> is write-only.</p> -</dd> -</dl> +</td> +</tr> +</table> </div> </div> </div> <div class="sect1"> <h2 id="_see_also">SEE ALSO</h2> <div class="sectionbody"> -<div class="paragraph"> +<div class="paragraph text-left"> <p><a href="nng_dialer_create.3.html">nng_dialer_create(3)</a> <a href="nng_dialer_setopt.3.html">nng_dialer_setopt(3)</a> <a href="nng_strdup.3.html">nng_strdup(3)</a>, diff --git a/man/tip/nng_dialer_id.3.html b/man/tip/nng_dialer_id.3.html index d1e76d5c..1b6141e5 100644 --- a/man/tip/nng_dialer_id.3.html +++ b/man/tip/nng_dialer_id.3.html @@ -580,7 +580,7 @@ they cannot be confused with a valid dialer before they are created properly. <div class="sect1"> <h2 id="_see_also">SEE ALSO</h2> <div class="sectionbody"> -<div class="paragraph"> +<div class="paragraph text-left"> <p><a href="nng_dialer.5.html">nng_dialer(5)</a>, <a href="nng.7.html">nng(7)</a></p> </div> diff --git a/man/tip/nng_dialer_setopt.3.html b/man/tip/nng_dialer_setopt.3.html index 4e0c9747..bb09f650 100644 --- a/man/tip/nng_dialer_setopt.3.html +++ b/man/tip/nng_dialer_setopt.3.html @@ -610,7 +610,7 @@ size of the objected located at <em>val</em>.</p> <div class="sect3"> <h4 id="_code_nng_dialer_setopt_bool_code"><code>nng_dialer_setopt_bool()</code></h4> <div class="paragraph"> -<p>This function is for options which take a boolean (<code>bool</code>). +<p>This function is for options which take a Boolean (<code>bool</code>). The <em>bval</em> is passed to the option.</p> </div> </div> @@ -680,40 +680,64 @@ and similar.</p> <div class="sect1"> <h2 id="_errors">ERRORS</h2> <div class="sectionbody"> -<div class="dlist"> -<dl> -<dt class="hdlist1"><code>NNG_EBADTYPE</code></dt> -<dd> +<div class="hdlist"> +<table> +<tr> +<td class="hdlist1"> +<code>NNG_EBADTYPE</code> +</td> +<td class="hdlist2"> <p>Incorrect type for option.</p> -</dd> -<dt class="hdlist1"><code>NNG_ECLOSED</code></dt> -<dd> +</td> +</tr> +<tr> +<td class="hdlist1"> +<code>NNG_ECLOSED</code> +</td> +<td class="hdlist2"> <p>Parameter <em>d</em> does not refer to an open dialer.</p> -</dd> -<dt class="hdlist1"><code>NNG_EINVAL</code></dt> -<dd> +</td> +</tr> +<tr> +<td class="hdlist1"> +<code>NNG_EINVAL</code> +</td> +<td class="hdlist2"> <p>The value being passed is invalid.</p> -</dd> -<dt class="hdlist1"><code>NNG_ENOTSUP</code></dt> -<dd> +</td> +</tr> +<tr> +<td class="hdlist1"> +<code>NNG_ENOTSUP</code> +</td> +<td class="hdlist2"> <p>The option <em>opt</em> is not supported.</p> -</dd> -<dt class="hdlist1"><code>NNG_EREADONLY</code></dt> -<dd> +</td> +</tr> +<tr> +<td class="hdlist1"> +<code>NNG_EREADONLY</code> +</td> +<td class="hdlist2"> <p>The option <em>opt</em> is read-only.</p> -</dd> -<dt class="hdlist1"><code>NNG_ESTATE</code></dt> -<dd> +</td> +</tr> +<tr> +<td class="hdlist1"> +<code>NNG_ESTATE</code> +</td> +<td class="hdlist2"> <p>The dialer <em>d</em> is already started.</p> -</dd> -</dl> +</td> +</tr> +</table> </div> </div> </div> <div class="sect1"> <h2 id="_see_also">SEE ALSO</h2> <div class="sectionbody"> -<div class="paragraph"> +<div class="paragraph text-left"> <p><a href="nng_dialer_create.3.html">nng_dialer_create(3)</a> <a href="nng_dialer_getopt.3.html">nng_dialer_getopt(3)</a> <a href="nng_strerror.3.html">nng_strerror(3)</a>, diff --git a/man/tip/nng_dialer_start.3.html b/man/tip/nng_dialer_start.3.html index 7317a9a3..18bc9fc9 100644 --- a/man/tip/nng_dialer_start.3.html +++ b/man/tip/nng_dialer_start.3.html @@ -590,56 +590,96 @@ its configuration.</p> <div class="sect1"> <h2 id="_errors">ERRORS</h2> <div class="sectionbody"> -<div class="dlist"> -<dl> -<dt class="hdlist1"><code>NNG_EADDRINVAL</code></dt> -<dd> +<div class="hdlist"> +<table> +<tr> +<td class="hdlist1"> +<code>NNG_EADDRINVAL</code> +</td> +<td class="hdlist2"> <p>An invalid <em>url</em> was specified.</p> -</dd> -<dt class="hdlist1"><code>NNG_ECLOSED</code></dt> -<dd> +</td> +</tr> +<tr> +<td class="hdlist1"> +<code>NNG_ECLOSED</code> +</td> +<td class="hdlist2"> <p>The socket <em>s</em> is not open.</p> -</dd> -<dt class="hdlist1"><code>NNG_ECONNREFUSED</code></dt> -<dd> +</td> +</tr> +<tr> +<td class="hdlist1"> +<code>NNG_ECONNREFUSED</code> +</td> +<td class="hdlist2"> <p>The remote peer refused the connection.</p> -</dd> -<dt class="hdlist1"><code>NNG_ECONNRESET</code></dt> -<dd> +</td> +</tr> +<tr> +<td class="hdlist1"> +<code>NNG_ECONNRESET</code> +</td> +<td class="hdlist2"> <p>The remote peer reset the connection.</p> -</dd> -<dt class="hdlist1"><code>NNG_EINVAL</code></dt> -<dd> +</td> +</tr> +<tr> +<td class="hdlist1"> +<code>NNG_EINVAL</code> +</td> +<td class="hdlist2"> <p>An invalid set of <em>flags</em> was specified.</p> -</dd> -<dt class="hdlist1"><code>NNG_ENOMEM</code></dt> -<dd> +</td> +</tr> +<tr> +<td class="hdlist1"> +<code>NNG_ENOMEM</code> +</td> +<td class="hdlist2"> <p>Insufficient memory is available.</p> -</dd> -<dt class="hdlist1"><code>NNG_EPEERAUTH</code></dt> -<dd> +</td> +</tr> +<tr> +<td class="hdlist1"> +<code>NNG_EPEERAUTH</code> +</td> +<td class="hdlist2"> <p>Authentication or authorization failure.</p> -</dd> -<dt class="hdlist1"><code>NNG_EPROTO</code></dt> -<dd> +</td> +</tr> +<tr> +<td class="hdlist1"> +<code>NNG_EPROTO</code> +</td> +<td class="hdlist2"> <p>A protocol error occurred.</p> -</dd> -<dt class="hdlist1"><code>NNG_ESTATE</code></dt> -<dd> +</td> +</tr> +<tr> +<td class="hdlist1"> +<code>NNG_ESTATE</code> +</td> +<td class="hdlist2"> <p>The dialer <em>d</em> is already started.</p> -</dd> -<dt class="hdlist1"><code>NNG_EUNREACHABLE</code></dt> -<dd> +</td> +</tr> +<tr> +<td class="hdlist1"> +<code>NNG_EUNREACHABLE</code> +</td> +<td class="hdlist2"> <p>The remote address is not reachable.</p> -</dd> -</dl> +</td> +</tr> +</table> </div> </div> </div> <div class="sect1"> <h2 id="_see_also">SEE ALSO</h2> <div class="sectionbody"> -<div class="paragraph"> +<div class="paragraph text-left"> <p><a href="nng_dial.3.html">nng_dial(3)</a>, <a href="nng_dialer_create.3.html">nng_dialer_create(3)</a> <a href="nng_strerror.3.html">nng_strerror(3)</a>, diff --git a/man/tip/nng_duration.5.html b/man/tip/nng_duration.5.html index 742ed008..c456f9bf 100644 --- a/man/tip/nng_duration.5.html +++ b/man/tip/nng_duration.5.html @@ -540,7 +540,7 @@ body.book #toc,body.book #preamble,body.book h1.sect0,body.book .sect1>h2{page-b <div class="paragraph"> <p>An <code>nng_duration</code> is a relative time, measured in milliseconds. -This type is most often used in conjuction with timers and timeouts.</p> +This type is most often used in conjunction with timers and timeouts.</p> </div> <div class="paragraph"> <p>A couple of special values have been set aside, and carry special meanings.</p> @@ -566,7 +566,7 @@ This type is most often used in conjuction with timers and timeouts.</p> <div class="sect1"> <h2 id="_see_also">SEE ALSO</h2> <div class="sectionbody"> -<div class="paragraph"> +<div class="paragraph text-left"> <p><a href="nng_options.5.html">nng_options(5)</a>, <a href="nng.7.html">nng(7)</a></p> </div> diff --git a/man/tip/nng_free.3.html b/man/tip/nng_free.3.html index 84771d0f..5b4abbcb 100644 --- a/man/tip/nng_free.3.html +++ b/man/tip/nng_free.3.html @@ -590,7 +590,7 @@ behavior, including corruption of application memory. <div class="sect1"> <h2 id="_see_also">SEE ALSO</h2> <div class="sectionbody"> -<div class="paragraph"> +<div class="paragraph text-left"> <p><a href="nng_alloc.3.html">nng_alloc(3)</a>, <a href="nng_recv.3.html">nng_recv(3)</a>, <a href="nng.7.html">nng(7)</a></p> diff --git a/man/tip/nng_getopt.3.html b/man/tip/nng_getopt.3.html index 51177aeb..6e468435 100644 --- a/man/tip/nng_getopt.3.html +++ b/man/tip/nng_getopt.3.html @@ -597,10 +597,10 @@ and the size of the buffer shall be stored at the location referenced by <div class="paragraph"> <p>When the function returns, the actual size of the data copied (or that would have been copied if sufficient space were present) is stored at -the location referened by <em>valszp</em>. +the location referenced by <em>valszp</em>. If the caller’s buffer is not large enough to hold the entire object, then the copy is truncated. -Therefore the caller should check for truncation by verifyng that the +Therefore the caller should check for truncation by verifying that the returned size in <em>valszp</em> does not exceed the original buffer size.</p> </div> <div class="paragraph"> @@ -612,7 +612,7 @@ the object.</p> <div class="sect3"> <h4 id="_code_nng_getopt_bool_code"><code>nng_getopt_bool()</code></h4> <div class="paragraph"> -<p>This function is for options which take a boolean (<code>bool</code>). +<p>This function is for options which take a Boolean (<code>bool</code>). The value will be stored at <em>ivalp</em>.</p> </div> </div> @@ -680,40 +680,64 @@ numbers, and similar.</p> <div class="sect1"> <h2 id="_errors">ERRORS</h2> <div class="sectionbody"> -<div class="dlist"> -<dl> -<dt class="hdlist1"><code>NNG_EBADTYPE</code></dt> -<dd> +<div class="hdlist"> +<table> +<tr> +<td class="hdlist1"> +<code>NNG_EBADTYPE</code> +</td> +<td class="hdlist2"> <p>Incorrect type for option.</p> -</dd> -<dt class="hdlist1"><code>NNG_ECLOSED</code></dt> -<dd> +</td> +</tr> +<tr> +<td class="hdlist1"> +<code>NNG_ECLOSED</code> +</td> +<td class="hdlist2"> <p>Parameter <em>s</em> does not refer to an open socket.</p> -</dd> -<dt class="hdlist1"><code>NNG_EINVAL</code></dt> -<dd> +</td> +</tr> +<tr> +<td class="hdlist1"> +<code>NNG_EINVAL</code> +</td> +<td class="hdlist2"> <p>Size of destination <em>val</em> too small for object.</p> -</dd> -<dt class="hdlist1"><code>NNG_ENOMEM</code></dt> -<dd> +</td> +</tr> +<tr> +<td class="hdlist1"> +<code>NNG_ENOMEM</code> +</td> +<td class="hdlist2"> <p>Insufficient memory exists.</p> -</dd> -<dt class="hdlist1"><code>NNG_ENOTSUP</code></dt> -<dd> +</td> +</tr> +<tr> +<td class="hdlist1"> +<code>NNG_ENOTSUP</code> +</td> +<td class="hdlist2"> <p>The option <em>opt</em> is not supported.</p> -</dd> -<dt class="hdlist1"><code>NNG_EWRITEONLY</code></dt> -<dd> +</td> +</tr> +<tr> +<td class="hdlist1"> +<code>NNG_EWRITEONLY</code> +</td> +<td class="hdlist2"> <p>The option <em>opt</em> is write-only.</p> -</dd> -</dl> +</td> +</tr> +</table> </div> </div> </div> <div class="sect1"> <h2 id="_see_also">SEE ALSO</h2> <div class="sectionbody"> -<div class="paragraph"> +<div class="paragraph text-left"> <p><a href="nng_dialer_getopt.3.html">nng_dialer_getopt(3)</a>, <a href="nng_listener_getopt.3.html">nng_listener_getopt(3)</a>, <a href="nng_pipe_getopt.3.html">nng_pipe_getopt(3)</a>, diff --git a/man/tip/nng_http_client_alloc.3http.html b/man/tip/nng_http_client_alloc.3http.html index f4760579..a5370140 100644 --- a/man/tip/nng_http_client_alloc.3http.html +++ b/man/tip/nng_http_client_alloc.3http.html @@ -538,7 +538,7 @@ body.book #toc,body.book #preamble,body.book h1.sect0,body.book .sect1>h2{page-b <div class="sectionbody"> <div class="paragraph"> <p>The <code>nng_http_client_alloc()</code> allocates an HTTP client suitable for -connecting to the server identifyed by <em>url</em> and stores a pointer to +connecting to the server identified by <em>url</em> and stores a pointer to it in the location referenced by <em>clientp</em>.</p> </div> </div> @@ -554,24 +554,32 @@ it in the location referenced by <em>clientp</em>.</p> <div class="sect1"> <h2 id="_errors">ERRORS</h2> <div class="sectionbody"> -<div class="dlist"> -<dl> -<dt class="hdlist1"><code>NNG_ENOMEM</code></dt> -<dd> +<div class="hdlist"> +<table> +<tr> +<td class="hdlist1"> +<code>NNG_ENOMEM</code> +</td> +<td class="hdlist2"> <p>Insufficient free memory exists.</p> -</dd> -<dt class="hdlist1"><code>NNG_ENOTSUP</code></dt> -<dd> +</td> +</tr> +<tr> +<td class="hdlist1"> +<code>NNG_ENOTSUP</code> +</td> +<td class="hdlist2"> <p>HTTP not supported.</p> -</dd> -</dl> +</td> +</tr> +</table> </div> </div> </div> <div class="sect1"> <h2 id="_see_also">SEE ALSO</h2> <div class="sectionbody"> -<div class="paragraph"> +<div class="paragraph text-left"> <p><a href="nng_http_client_connect.3http.html">nng_http_client_connect(3http)</a>, <a href="nng_http_client_free.3http.html">nng_http_client_free(3http)</a>, <a href="nng_strerror.3.html">nng_strerror(3)</a>, diff --git a/man/tip/nng_http_client_connect.3http.html b/man/tip/nng_http_client_connect.3http.html index 540d1250..0bd14e70 100644 --- a/man/tip/nng_http_client_connect.3http.html +++ b/man/tip/nng_http_client_connect.3http.html @@ -566,29 +566,49 @@ obtained by <div class="sect1"> <h2 id="_errors">ERRORS</h2> <div class="sectionbody"> -<div class="dlist"> -<dl> -<dt class="hdlist1"><code>NNG_EADDRINVAL</code></dt> -<dd> +<div class="hdlist"> +<table> +<tr> +<td class="hdlist1"> +<code>NNG_EADDRINVAL</code> +</td> +<td class="hdlist2"> <p>The server is configured with an invalid address.</p> -</dd> -<dt class="hdlist1"><code>NNG_ECANCELED</code></dt> -<dd> +</td> +</tr> +<tr> +<td class="hdlist1"> +<code>NNG_ECANCELED</code> +</td> +<td class="hdlist2"> <p>The operation was aborted.</p> -</dd> -<dt class="hdlist1"><code>NNG_ECONNREFUSED</code></dt> -<dd> +</td> +</tr> +<tr> +<td class="hdlist1"> +<code>NNG_ECONNREFUSED</code> +</td> +<td class="hdlist2"> <p>The TCP connection was refused by the server.</p> -</dd> -<dt class="hdlist1"><code>NNG_ECONNRESET</code></dt> -<dd> +</td> +</tr> +<tr> +<td class="hdlist1"> +<code>NNG_ECONNRESET</code> +</td> +<td class="hdlist2"> <p>The TCP connection was reset by the server.</p> -</dd> -<dt class="hdlist1"><code>NNG_ENOMEM</code></dt> -<dd> +</td> +</tr> +<tr> +<td class="hdlist1"> +<code>NNG_ENOMEM</code> +</td> +<td class="hdlist2"> <p>Insufficient free memory exists.</p> -</dd> -</dl> +</td> +</tr> +</table> </div> </div> </div> @@ -631,7 +651,7 @@ obtained by <div class="sect1"> <h2 id="_see_also">SEE ALSO</h2> <div class="sectionbody"> -<div class="paragraph"> +<div class="paragraph text-left"> <p><a href="nng_aio_get_output.3.html">nng_aio_get_output(3)</a>, <a href="nng_aio_result.3.html">nng_aio_result(3)</a>, <a href="nng_aio_wait.3.html">nng_aio_wait(3)</a>, diff --git a/man/tip/nng_http_client_free.3http.html b/man/tip/nng_http_client_free.3http.html index 8304c740..825db8c1 100644 --- a/man/tip/nng_http_client_free.3http.html +++ b/man/tip/nng_http_client_free.3http.html @@ -575,7 +575,7 @@ and so the caller must close those explicitly if desired. <div class="sect1"> <h2 id="_see_also">SEE ALSO</h2> <div class="sectionbody"> -<div class="paragraph"> +<div class="paragraph text-left"> <p><a href="nng_http_client_alloc.3http.html">nng_http_client_alloc(3)</a>, <a href="nng_http_client_connect.3http.html">nng_http_client_connect(3)</a>, <a href="nng.7.html">nng(7)</a></p> diff --git a/man/tip/nng_http_client_get_tls.3http.html b/man/tip/nng_http_client_get_tls.3http.html index 6bc45521..61f64e0d 100644 --- a/man/tip/nng_http_client_get_tls.3http.html +++ b/man/tip/nng_http_client_get_tls.3http.html @@ -557,24 +557,32 @@ to use HTTPS.</p> <div class="sect1"> <h2 id="_errors">ERRORS</h2> <div class="sectionbody"> -<div class="dlist"> -<dl> -<dt class="hdlist1"><code>NNG_ENOMEM</code></dt> -<dd> +<div class="hdlist"> +<table> +<tr> +<td class="hdlist1"> +<code>NNG_ENOMEM</code> +</td> +<td class="hdlist2"> <p>Insufficient free memory exists.</p> -</dd> -<dt class="hdlist1"><code>NNG_ENOTSUP</code></dt> -<dd> +</td> +</tr> +<tr> +<td class="hdlist1"> +<code>NNG_ENOTSUP</code> +</td> +<td class="hdlist2"> <p>Either HTTP or TLS not supported.</p> -</dd> -</dl> +</td> +</tr> +</table> </div> </div> </div> <div class="sect1"> <h2 id="_see_also">SEE ALSO</h2> <div class="sectionbody"> -<div class="paragraph"> +<div class="paragraph text-left"> <p><a href="nng_http_client_alloc.3http.html">nng_http_client_alloc(3http)</a>, <a href="nng_http_client_connect.3http.html">nng_http_client_connect(3http)</a>, <a href="nng_http_client_set_tls.3http.html">nng_http_client_set_tls(3http)</a>, diff --git a/man/tip/nng_http_client_set_tls.3http.html b/man/tip/nng_http_client_set_tls.3http.html index 862358bb..dc751a70 100644 --- a/man/tip/nng_http_client_set_tls.3http.html +++ b/man/tip/nng_http_client_set_tls.3http.html @@ -582,24 +582,32 @@ will continue to use any TLS configuration that they were started with. <div class="sect1"> <h2 id="_errors">ERRORS</h2> <div class="sectionbody"> -<div class="dlist"> -<dl> -<dt class="hdlist1"><code>NNG_ENOMEM</code></dt> -<dd> +<div class="hdlist"> +<table> +<tr> +<td class="hdlist1"> +<code>NNG_ENOMEM</code> +</td> +<td class="hdlist2"> <p>Insufficient free memory exists.</p> -</dd> -<dt class="hdlist1"><code>NNG_ENOTSUP</code></dt> -<dd> +</td> +</tr> +<tr> +<td class="hdlist1"> +<code>NNG_ENOTSUP</code> +</td> +<td class="hdlist2"> <p>Either HTTP or TLS not supported.</p> -</dd> -</dl> +</td> +</tr> +</table> </div> </div> </div> <div class="sect1"> <h2 id="_see_also">SEE ALSO</h2> <div class="sectionbody"> -<div class="paragraph"> +<div class="paragraph text-left"> <p><a href="nng_http_client_alloc.3http.html">nng_http_client_alloc(3http)</a>, <a href="nng_http_client_connect.3http.html">nng_http_client_connect(3http)</a>, <a href="nng_http_client_get_tls.3http.html">nng_http_client_get_tls(3http)</a>, diff --git a/man/tip/nng_http_conn_close.3http.html b/man/tip/nng_http_conn_close.3http.html index d5e7a196..d169b202 100644 --- a/man/tip/nng_http_conn_close.3http.html +++ b/man/tip/nng_http_conn_close.3http.html @@ -564,7 +564,7 @@ including any disposing of any underlying file descriptors or related resources. <div class="sect1"> <h2 id="_see_also">SEE ALSO</h2> <div class="sectionbody"> -<div class="paragraph"> +<div class="paragraph text-left"> <p><a href="nng_http_client_connect.3http.html">nng_http_client_connect(3http)</a>, <a href="nng_http_handler_alloc.3http.html">nng_http_handler_alloc(3http)</a>, <a href="nng_strerror.3.html">nng_strerror(3)</a>, diff --git a/man/tip/nng_http_conn_read.3http.html b/man/tip/nng_http_conn_read.3http.html index 1d6bd9fa..c9094498 100644 --- a/man/tip/nng_http_conn_read.3http.html +++ b/man/tip/nng_http_conn_read.3http.html @@ -595,44 +595,72 @@ Most applications will never need to use this function. <div class="sect1"> <h2 id="_errors">ERRORS</h2> <div class="sectionbody"> -<div class="dlist"> -<dl> -<dt class="hdlist1"><code>NNG_ECANCELED</code></dt> -<dd> +<div class="hdlist"> +<table> +<tr> +<td class="hdlist1"> +<code>NNG_ECANCELED</code> +</td> +<td class="hdlist2"> <p>The operation was canceled.</p> -</dd> -<dt class="hdlist1"><code>NNG_ECLOSED</code></dt> -<dd> +</td> +</tr> +<tr> +<td class="hdlist1"> +<code>NNG_ECLOSED</code> +</td> +<td class="hdlist2"> <p>The connection was closed.</p> -</dd> -<dt class="hdlist1"><code>NNG_ECONNRESET</code></dt> -<dd> +</td> +</tr> +<tr> +<td class="hdlist1"> +<code>NNG_ECONNRESET</code> +</td> +<td class="hdlist2"> <p>The peer closed the connection.</p> -</dd> -<dt class="hdlist1"><code>NNG_EINVAL</code></dt> -<dd> +</td> +</tr> +<tr> +<td class="hdlist1"> +<code>NNG_EINVAL</code> +</td> +<td class="hdlist2"> <p>The <em>aio</em> does not contain a valid scatter/gather vector.</p> -</dd> -<dt class="hdlist1"><code>NNG_ENOMEM</code></dt> -<dd> +</td> +</tr> +<tr> +<td class="hdlist1"> +<code>NNG_ENOMEM</code> +</td> +<td class="hdlist2"> <p>Insufficient free memory to perform the operation.</p> -</dd> -<dt class="hdlist1"><code>NNG_ENOTSUP</code></dt> -<dd> +</td> +</tr> +<tr> +<td class="hdlist1"> +<code>NNG_ENOTSUP</code> +</td> +<td class="hdlist2"> <p>HTTP operations are not supported.</p> -</dd> -<dt class="hdlist1"><code>NNG_ETIMEDOUT</code></dt> -<dd> +</td> +</tr> +<tr> +<td class="hdlist1"> +<code>NNG_ETIMEDOUT</code> +</td> +<td class="hdlist2"> <p>Timeout waiting for data from the connection.</p> -</dd> -</dl> +</td> +</tr> +</table> </div> </div> </div> <div class="sect1"> <h2 id="_see_also">SEE ALSO</h2> <div class="sectionbody"> -<div class="paragraph"> +<div class="paragraph text-left"> <p><a href="nng_aio_alloc.3.html">nng_aio_alloc(3)</a>, <a href="nng_aio_count.3.html">nng_aio_count(3)</a>, <a href="nng_aio_result.3.html">nng_aio_result(3)</a>, diff --git a/man/tip/nng_http_conn_read_all.3http.html b/man/tip/nng_http_conn_read_all.3http.html index 82d78c77..1226f80e 100644 --- a/man/tip/nng_http_conn_read_all.3http.html +++ b/man/tip/nng_http_conn_read_all.3http.html @@ -578,7 +578,7 @@ The actual number of bytes read can be determined with <i class="fa icon-tip" title="Tip"></i> </td> <td class="content"> -The main purpose for this function is to faciliate reading HTTP +The main purpose for this function is to facilitate reading HTTP body content, after first determining the length of the body content from the relevant HTTP headers (typically <code>Content-Length</code>). </td> @@ -598,44 +598,72 @@ from the relevant HTTP headers (typically <code>Content-Length</code>). <div class="sect1"> <h2 id="_errors">ERRORS</h2> <div class="sectionbody"> -<div class="dlist"> -<dl> -<dt class="hdlist1"><code>NNG_ECANCELED</code></dt> -<dd> +<div class="hdlist"> +<table> +<tr> +<td class="hdlist1"> +<code>NNG_ECANCELED</code> +</td> +<td class="hdlist2"> <p>The operation was canceled.</p> -</dd> -<dt class="hdlist1"><code>NNG_ECLOSED</code></dt> -<dd> +</td> +</tr> +<tr> +<td class="hdlist1"> +<code>NNG_ECLOSED</code> +</td> +<td class="hdlist2"> <p>The connection was closed.</p> -</dd> -<dt class="hdlist1"><code>NNG_ECONNRESET</code></dt> -<dd> +</td> +</tr> +<tr> +<td class="hdlist1"> +<code>NNG_ECONNRESET</code> +</td> +<td class="hdlist2"> <p>The peer closed the connection.</p> -</dd> -<dt class="hdlist1"><code>NNG_EINVAL</code></dt> -<dd> +</td> +</tr> +<tr> +<td class="hdlist1"> +<code>NNG_EINVAL</code> +</td> +<td class="hdlist2"> <p>The <em>aio</em> does not contain a valid scatter/gather vector.</p> -</dd> -<dt class="hdlist1"><code>NNG_ENOMEM</code></dt> -<dd> +</td> +</tr> +<tr> +<td class="hdlist1"> +<code>NNG_ENOMEM</code> +</td> +<td class="hdlist2"> <p>Insufficient free memory to perform the operation.</p> -</dd> -<dt class="hdlist1"><code>NNG_ENOTSUP</code></dt> -<dd> +</td> +</tr> +<tr> +<td class="hdlist1"> +<code>NNG_ENOTSUP</code> +</td> +<td class="hdlist2"> <p>HTTP operations are not supported.</p> -</dd> -<dt class="hdlist1"><code>NNG_ETIMEDOUT</code></dt> -<dd> +</td> +</tr> +<tr> +<td class="hdlist1"> +<code>NNG_ETIMEDOUT</code> +</td> +<td class="hdlist2"> <p>Timeout waiting for data from the connection.</p> -</dd> -</dl> +</td> +</tr> +</table> </div> </div> </div> <div class="sect1"> <h2 id="_see_also">SEE ALSO</h2> <div class="sectionbody"> -<div class="paragraph"> +<div class="paragraph text-left"> <p><a href="nng_aio_alloc.3.html">nng_aio_alloc(3)</a>, <a href="nng_aio_count.3.html">nng_aio_count(3)</a>, <a href="nng_aio_result.3.html">nng_aio_result(3)</a>, diff --git a/man/tip/nng_http_conn_read_req.3http.html b/man/tip/nng_http_conn_read_req.3http.html index 9a594778..8916905e 100644 --- a/man/tip/nng_http_conn_read_req.3http.html +++ b/man/tip/nng_http_conn_read_req.3http.html @@ -577,40 +577,64 @@ That result will either be zero or an error code.</p> <div class="sect1"> <h2 id="_errors">ERRORS</h2> <div class="sectionbody"> -<div class="dlist"> -<dl> -<dt class="hdlist1"><code>NNG_ECANCELED</code></dt> -<dd> +<div class="hdlist"> +<table> +<tr> +<td class="hdlist1"> +<code>NNG_ECANCELED</code> +</td> +<td class="hdlist2"> <p>The operation was canceled.</p> -</dd> -<dt class="hdlist1"><code>NNG_ECLOSED</code></dt> -<dd> +</td> +</tr> +<tr> +<td class="hdlist1"> +<code>NNG_ECLOSED</code> +</td> +<td class="hdlist2"> <p>The connection was closed.</p> -</dd> -<dt class="hdlist1"><code>NNG_ECONNRESET</code></dt> -<dd> +</td> +</tr> +<tr> +<td class="hdlist1"> +<code>NNG_ECONNRESET</code> +</td> +<td class="hdlist2"> <p>The peer closed the connection.</p> -</dd> -<dt class="hdlist1"><code>NNG_ENOMEM</code></dt> -<dd> +</td> +</tr> +<tr> +<td class="hdlist1"> +<code>NNG_ENOMEM</code> +</td> +<td class="hdlist2"> <p>Insufficient free memory to perform the operation.</p> -</dd> -<dt class="hdlist1"><code>NNG_ENOTSUP</code></dt> -<dd> +</td> +</tr> +<tr> +<td class="hdlist1"> +<code>NNG_ENOTSUP</code> +</td> +<td class="hdlist2"> <p>HTTP operations are not supported.</p> -</dd> -<dt class="hdlist1"><code>NNG_ETIMEDOUT</code></dt> -<dd> +</td> +</tr> +<tr> +<td class="hdlist1"> +<code>NNG_ETIMEDOUT</code> +</td> +<td class="hdlist2"> <p>Timeout waiting for data from the connection.</p> -</dd> -</dl> +</td> +</tr> +</table> </div> </div> </div> <div class="sect1"> <h2 id="_see_also">SEE ALSO</h2> <div class="sectionbody"> -<div class="paragraph"> +<div class="paragraph text-left"> <p><a href="nng_aio_alloc.3.html">nng_aio_alloc(3)</a>, <a href="nng_aio_result.3.html">nng_aio_result(3)</a>, <a href="nng_strerror.3.html">nng_strerror(3)</a>, diff --git a/man/tip/nng_http_conn_read_res.3http.html b/man/tip/nng_http_conn_read_res.3http.html index 4c41e237..9e133e22 100644 --- a/man/tip/nng_http_conn_read_res.3http.html +++ b/man/tip/nng_http_conn_read_res.3http.html @@ -578,40 +578,64 @@ That result will either be zero or an error code.</p> <div class="sect1"> <h2 id="_errors">ERRORS</h2> <div class="sectionbody"> -<div class="dlist"> -<dl> -<dt class="hdlist1"><code>NNG_ECANCELED</code></dt> -<dd> +<div class="hdlist"> +<table> +<tr> +<td class="hdlist1"> +<code>NNG_ECANCELED</code> +</td> +<td class="hdlist2"> <p>The operation was canceled.</p> -</dd> -<dt class="hdlist1"><code>NNG_ECLOSED</code></dt> -<dd> +</td> +</tr> +<tr> +<td class="hdlist1"> +<code>NNG_ECLOSED</code> +</td> +<td class="hdlist2"> <p>The connection was closed.</p> -</dd> -<dt class="hdlist1"><code>NNG_ECONNRESET</code></dt> -<dd> +</td> +</tr> +<tr> +<td class="hdlist1"> +<code>NNG_ECONNRESET</code> +</td> +<td class="hdlist2"> <p>The peer closed the connection.</p> -</dd> -<dt class="hdlist1"><code>NNG_ENOMEM</code></dt> -<dd> +</td> +</tr> +<tr> +<td class="hdlist1"> +<code>NNG_ENOMEM</code> +</td> +<td class="hdlist2"> <p>Insufficient free memory to perform the operation.</p> -</dd> -<dt class="hdlist1"><code>NNG_ENOTSUP</code></dt> -<dd> +</td> +</tr> +<tr> +<td class="hdlist1"> +<code>NNG_ENOTSUP</code> +</td> +<td class="hdlist2"> <p>HTTP operations are not supported.</p> -</dd> -<dt class="hdlist1"><code>NNG_ETIMEDOUT</code></dt> -<dd> +</td> +</tr> +<tr> +<td class="hdlist1"> +<code>NNG_ETIMEDOUT</code> +</td> +<td class="hdlist2"> <p>Timeout waiting for data from the connection.</p> -</dd> -</dl> +</td> +</tr> +</table> </div> </div> </div> <div class="sect1"> <h2 id="_see_also">SEE ALSO</h2> <div class="sectionbody"> -<div class="paragraph"> +<div class="paragraph text-left"> <p><a href="nng_aio_alloc.3.html">nng_aio_alloc(3)</a>, <a href="nng_aio_result.3.html">nng_aio_result(3)</a>, <a href="nng_strerror.3.html">nng_strerror(3)</a>, diff --git a/man/tip/nng_http_conn_write.3http.html b/man/tip/nng_http_conn_write.3http.html index ee4a1fc5..fac636d6 100644 --- a/man/tip/nng_http_conn_write.3http.html +++ b/man/tip/nng_http_conn_write.3http.html @@ -594,44 +594,72 @@ Most applications will never need to use this function. <div class="sect1"> <h2 id="_errors">ERRORS</h2> <div class="sectionbody"> -<div class="dlist"> -<dl> -<dt class="hdlist1"><code>NNG_ECANCELED</code></dt> -<dd> +<div class="hdlist"> +<table> +<tr> +<td class="hdlist1"> +<code>NNG_ECANCELED</code> +</td> +<td class="hdlist2"> <p>The operation was canceled.</p> -</dd> -<dt class="hdlist1"><code>NNG_ECLOSED</code></dt> -<dd> +</td> +</tr> +<tr> +<td class="hdlist1"> +<code>NNG_ECLOSED</code> +</td> +<td class="hdlist2"> <p>The connection was closed.</p> -</dd> -<dt class="hdlist1"><code>NNG_ECONNRESET</code></dt> -<dd> +</td> +</tr> +<tr> +<td class="hdlist1"> +<code>NNG_ECONNRESET</code> +</td> +<td class="hdlist2"> <p>The peer closed the connection.</p> -</dd> -<dt class="hdlist1"><code>NNG_EINVAL</code></dt> -<dd> +</td> +</tr> +<tr> +<td class="hdlist1"> +<code>NNG_EINVAL</code> +</td> +<td class="hdlist2"> <p>The <em>aio</em> does not contain a valid scatter/gather vector.</p> -</dd> -<dt class="hdlist1"><code>NNG_ENOMEM</code></dt> -<dd> +</td> +</tr> +<tr> +<td class="hdlist1"> +<code>NNG_ENOMEM</code> +</td> +<td class="hdlist2"> <p>Insufficient free memory to perform the operation.</p> -</dd> -<dt class="hdlist1"><code>NNG_ENOTSUP</code></dt> -<dd> +</td> +</tr> +<tr> +<td class="hdlist1"> +<code>NNG_ENOTSUP</code> +</td> +<td class="hdlist2"> <p>HTTP operations are not supported.</p> -</dd> -<dt class="hdlist1"><code>NNG_ETIMEDOUT</code></dt> -<dd> +</td> +</tr> +<tr> +<td class="hdlist1"> +<code>NNG_ETIMEDOUT</code> +</td> +<td class="hdlist2"> <p>Timeout waiting for data from the connection.</p> -</dd> -</dl> +</td> +</tr> +</table> </div> </div> </div> <div class="sect1"> <h2 id="_see_also">SEE ALSO</h2> <div class="sectionbody"> -<div class="paragraph"> +<div class="paragraph text-left"> <p><a href="nng_aio_alloc.3.html">nng_aio_alloc(3)</a>, <a href="nng_aio_count.3.html">nng_aio_count(3)</a>, <a href="nng_aio_result.3.html">nng_aio_result(3)</a>, diff --git a/man/tip/nng_http_conn_write_all.3http.html b/man/tip/nng_http_conn_write_all.3http.html index 0a8e8ee0..a8b4bee8 100644 --- a/man/tip/nng_http_conn_write_all.3http.html +++ b/man/tip/nng_http_conn_write_all.3http.html @@ -578,7 +578,7 @@ The actual number of bytes written can be determined with <i class="fa icon-tip" title="Tip"></i> </td> <td class="content"> -The main purpose for this function is to faciliate writing HTTP +The main purpose for this function is to facilitate writing HTTP body content. </td> </tr> @@ -608,7 +608,7 @@ an <code>Content-Length</code> header, and possibly a <code>Content-Type</code> </td> <td class="content"> An easier solution to sending HTTP content data, is to include the -conten with the request or reply using a function like +content with the request or reply using a function like <code><a href="nng_http_req_copy_data.3http.html">nng_http_req_copy_data()</a></code>. In that case, the body data will be written automatically by the <code><a href="nng_http_conn_write_req.3http.html">http_conn_write_req()</a></code> or @@ -630,44 +630,72 @@ In that case, the body data will be written automatically by the <div class="sect1"> <h2 id="_errors">ERRORS</h2> <div class="sectionbody"> -<div class="dlist"> -<dl> -<dt class="hdlist1"><code>NNG_ECANCELED</code></dt> -<dd> +<div class="hdlist"> +<table> +<tr> +<td class="hdlist1"> +<code>NNG_ECANCELED</code> +</td> +<td class="hdlist2"> <p>The operation was canceled.</p> -</dd> -<dt class="hdlist1"><code>NNG_ECLOSED</code></dt> -<dd> +</td> +</tr> +<tr> +<td class="hdlist1"> +<code>NNG_ECLOSED</code> +</td> +<td class="hdlist2"> <p>The connection was closed.</p> -</dd> -<dt class="hdlist1"><code>NNG_ECONNRESET</code></dt> -<dd> +</td> +</tr> +<tr> +<td class="hdlist1"> +<code>NNG_ECONNRESET</code> +</td> +<td class="hdlist2"> <p>The peer closed the connection.</p> -</dd> -<dt class="hdlist1"><code>NNG_EINVAL</code></dt> -<dd> +</td> +</tr> +<tr> +<td class="hdlist1"> +<code>NNG_EINVAL</code> +</td> +<td class="hdlist2"> <p>The <em>aio</em> does not contain a valid scatter/gather vector.</p> -</dd> -<dt class="hdlist1"><code>NNG_ENOMEM</code></dt> -<dd> +</td> +</tr> +<tr> +<td class="hdlist1"> +<code>NNG_ENOMEM</code> +</td> +<td class="hdlist2"> <p>Insufficient free memory to perform the operation.</p> -</dd> -<dt class="hdlist1"><code>NNG_ENOTSUP</code></dt> -<dd> +</td> +</tr> +<tr> +<td class="hdlist1"> +<code>NNG_ENOTSUP</code> +</td> +<td class="hdlist2"> <p>HTTP operations are not supported.</p> -</dd> -<dt class="hdlist1"><code>NNG_ETIMEDOUT</code></dt> -<dd> +</td> +</tr> +<tr> +<td class="hdlist1"> +<code>NNG_ETIMEDOUT</code> +</td> +<td class="hdlist2"> <p>Timeout waiting for data from the connection.</p> -</dd> -</dl> +</td> +</tr> +</table> </div> </div> </div> <div class="sect1"> <h2 id="_see_also">SEE ALSO</h2> <div class="sectionbody"> -<div class="paragraph"> +<div class="paragraph text-left"> <p><a href="nng_aio_alloc.3.html">nng_aio_alloc(3)</a>, <a href="nng_aio_count.3.html">nng_aio_count(3)</a>, <a href="nng_aio_result.3.html">nng_aio_result(3)</a>, diff --git a/man/tip/nng_http_conn_write_req.3http.html b/man/tip/nng_http_conn_write_req.3http.html index 7b702bea..f781b1bb 100644 --- a/man/tip/nng_http_conn_write_req.3http.html +++ b/man/tip/nng_http_conn_write_req.3http.html @@ -550,7 +550,7 @@ including headers, and if present, the request body data. <p>This function returns immediately, with no return value. Completion of the operation is signaled via the <em>aio</em>, and the final result may be obtained via <code><a href="nng_aio_result.3.html">nng_aio_result()</a></code>. -That result willeither be zero or an error code.</p> +That result will either be zero or an error code.</p> </div> </div> </div> @@ -565,40 +565,64 @@ That result willeither be zero or an error code.</p> <div class="sect1"> <h2 id="_errors">ERRORS</h2> <div class="sectionbody"> -<div class="dlist"> -<dl> -<dt class="hdlist1"><code>NNG_ECANCELED</code></dt> -<dd> +<div class="hdlist"> +<table> +<tr> +<td class="hdlist1"> +<code>NNG_ECANCELED</code> +</td> +<td class="hdlist2"> <p>The operation was canceled.</p> -</dd> -<dt class="hdlist1"><code>NNG_ECLOSED</code></dt> -<dd> +</td> +</tr> +<tr> +<td class="hdlist1"> +<code>NNG_ECLOSED</code> +</td> +<td class="hdlist2"> <p>The connection was closed.</p> -</dd> -<dt class="hdlist1"><code>NNG_ECONNRESET</code></dt> -<dd> +</td> +</tr> +<tr> +<td class="hdlist1"> +<code>NNG_ECONNRESET</code> +</td> +<td class="hdlist2"> <p>The peer closed the connection.</p> -</dd> -<dt class="hdlist1"><code>NNG_ENOMEM</code></dt> -<dd> +</td> +</tr> +<tr> +<td class="hdlist1"> +<code>NNG_ENOMEM</code> +</td> +<td class="hdlist2"> <p>Insufficient free memory to perform the operation.</p> -</dd> -<dt class="hdlist1"><code>NNG_ENOTSUP</code></dt> -<dd> +</td> +</tr> +<tr> +<td class="hdlist1"> +<code>NNG_ENOTSUP</code> +</td> +<td class="hdlist2"> <p>HTTP operations are not supported.</p> -</dd> -<dt class="hdlist1"><code>NNG_ETIMEDOUT</code></dt> -<dd> +</td> +</tr> +<tr> +<td class="hdlist1"> +<code>NNG_ETIMEDOUT</code> +</td> +<td class="hdlist2"> <p>Timeout waiting for data from the connection.</p> -</dd> -</dl> +</td> +</tr> +</table> </div> </div> </div> <div class="sect1"> <h2 id="_see_also">SEE ALSO</h2> <div class="sectionbody"> -<div class="paragraph"> +<div class="paragraph text-left"> <p><a href="nng_aio_alloc.3.html">nng_aio_alloc(3)</a>, <a href="nng_aio_result.3.html">nng_aio_result(3)</a>, <a href="nng_http_client_connect.3http.html">nng_http_client_connect(3http)</a>, diff --git a/man/tip/nng_http_conn_write_res.3http.html b/man/tip/nng_http_conn_write_res.3http.html index 0aafce63..dd8859fc 100644 --- a/man/tip/nng_http_conn_write_res.3http.html +++ b/man/tip/nng_http_conn_write_res.3http.html @@ -581,40 +581,64 @@ then the connection is immediately after sending the response.</p> <div class="sect1"> <h2 id="_errors">ERRORS</h2> <div class="sectionbody"> -<div class="dlist"> -<dl> -<dt class="hdlist1"><code>NNG_ECANCELED</code></dt> -<dd> +<div class="hdlist"> +<table> +<tr> +<td class="hdlist1"> +<code>NNG_ECANCELED</code> +</td> +<td class="hdlist2"> <p>The operation was canceled.</p> -</dd> -<dt class="hdlist1"><code>NNG_ECLOSED</code></dt> -<dd> +</td> +</tr> +<tr> +<td class="hdlist1"> +<code>NNG_ECLOSED</code> +</td> +<td class="hdlist2"> <p>The connection was closed.</p> -</dd> -<dt class="hdlist1"><code>NNG_ECONNRESET</code></dt> -<dd> +</td> +</tr> +<tr> +<td class="hdlist1"> +<code>NNG_ECONNRESET</code> +</td> +<td class="hdlist2"> <p>The peer closed the connection.</p> -</dd> -<dt class="hdlist1"><code>NNG_ENOMEM</code></dt> -<dd> +</td> +</tr> +<tr> +<td class="hdlist1"> +<code>NNG_ENOMEM</code> +</td> +<td class="hdlist2"> <p>Insufficient free memory to perform the operation.</p> -</dd> -<dt class="hdlist1"><code>NNG_ENOTSUP</code></dt> -<dd> +</td> +</tr> +<tr> +<td class="hdlist1"> +<code>NNG_ENOTSUP</code> +</td> +<td class="hdlist2"> <p>HTTP operations are not supported.</p> -</dd> -<dt class="hdlist1"><code>NNG_ETIMEDOUT</code></dt> -<dd> +</td> +</tr> +<tr> +<td class="hdlist1"> +<code>NNG_ETIMEDOUT</code> +</td> +<td class="hdlist2"> <p>Timeout waiting for data from the connection.</p> -</dd> -</dl> +</td> +</tr> +</table> </div> </div> </div> <div class="sect1"> <h2 id="_see_also">SEE ALSO</h2> <div class="sectionbody"> -<div class="paragraph"> +<div class="paragraph text-left"> <p><a href="nng_aio_alloc.3.html">nng_aio_alloc(3)</a>, <a href="nng_aio_result.3.html">nng_aio_result(3)</a>, <a href="nng_http_client_connect.3http.html">nng_http_client_connect(3http)</a>, diff --git a/man/tip/nng_http_handler_alloc.3http.html b/man/tip/nng_http_handler_alloc.3http.html index 97969e95..021d4ca6 100644 --- a/man/tip/nng_http_handler_alloc.3http.html +++ b/man/tip/nng_http_handler_alloc.3http.html @@ -634,7 +634,7 @@ The <em>uri</em> is taken as the root, and files are served from the directory tree rooted at <em>path</em>.</p> </div> <div class="paragraph"> -<p>When the client Request-URI resolves to a directory in the filesystem, +<p>When the client Request-URI resolves to a directory in the file system, the handler looks first for a file named <code>index.html</code> or <code>index.htm</code>. If one is found, then that file is returned back to the client. If no such index file exists, then an <code>NNG_HTTP_STATUS_NOT_FOUND</code> (404) error is @@ -642,7 +642,7 @@ sent back to the client.</p> </div> <div class="paragraph"> <p>The <code>Content-Type</code> will be set automatically based upon the extension -of the requsted file name. +of the requested file name. If a content type cannot be determined from the extension, then <code>application/octet-stream</code> is used.</p> </div> @@ -656,7 +656,7 @@ or search for <code>index.html</code> or <code>index.htm</code> files.</p> </div> <div class="paragraph"> <p>The <code>Content-Type</code> will be set automatically based upon the extension -of the requsted file name. +of the requested file name. If a content type cannot be determined from the extension, then <code>application/octet-stream</code> is used.</p> </div> @@ -684,28 +684,40 @@ sent the <em>data</em>, with <code>Content-Length</code> of <em>size</em> bytes, <div class="sect1"> <h2 id="_errors">ERRORS</h2> <div class="sectionbody"> -<div class="dlist"> -<dl> -<dt class="hdlist1"><code>NNG_EINVAL</code></dt> -<dd> +<div class="hdlist"> +<table> +<tr> +<td class="hdlist1"> +<code>NNG_EINVAL</code> +</td> +<td class="hdlist2"> <p>An invalid <em>path</em> was specified.</p> -</dd> -<dt class="hdlist1"><code>NNG_ENOMEM</code></dt> -<dd> +</td> +</tr> +<tr> +<td class="hdlist1"> +<code>NNG_ENOMEM</code> +</td> +<td class="hdlist2"> <p>Insufficient free memory exists to allocate a message.</p> -</dd> -<dt class="hdlist1"><code>NNG_ENOTSUP</code></dt> -<dd> +</td> +</tr> +<tr> +<td class="hdlist1"> +<code>NNG_ENOTSUP</code> +</td> +<td class="hdlist2"> <p>No support for HTTP in the library.</p> -</dd> -</dl> +</td> +</tr> +</table> </div> </div> </div> <div class="sect1"> <h2 id="_see_also">SEE ALSO</h2> <div class="sectionbody"> -<div class="paragraph"> +<div class="paragraph text-left"> <p><a href="nng_aio_finish.3.html">nng_aio_finish(3)</a>, <a href="nng_aio_get_input.3.html">nng_aio_get_input(3)</a>, <a href="nng_aio_set_output.3.html">nng_aio_set_output(3)</a>, diff --git a/man/tip/nng_http_handler_free.3http.html b/man/tip/nng_http_handler_free.3http.html index fdcd364b..89c4052b 100644 --- a/man/tip/nng_http_handler_free.3http.html +++ b/man/tip/nng_http_handler_free.3http.html @@ -574,7 +574,7 @@ when the server itself is deallocated. <div class="sect1"> <h2 id="_see_also">SEE ALSO</h2> <div class="sectionbody"> -<div class="paragraph"> +<div class="paragraph text-left"> <p><a href="nng_http_handler_alloc.3http.html">nng_http_handler_alloc(3http)</a>, <a href="nng_http_server_add_handler.3http.html">nng_http_server_add_handler(3http)</a>, <a href="nng.7.html">nng(7)</a></p> diff --git a/man/tip/nng_http_handler_get_data.3http.html b/man/tip/nng_http_handler_get_data.3http.html index 29fae4ce..8ef8efa1 100644 --- a/man/tip/nng_http_handler_get_data.3http.html +++ b/man/tip/nng_http_handler_get_data.3http.html @@ -563,7 +563,7 @@ stored on <em>handler</em> using the function <div class="sect1"> <h2 id="_see_also">SEE ALSO</h2> <div class="sectionbody"> -<div class="paragraph"> +<div class="paragraph text-left"> <p><a href="nng_http_handler_alloc.3http.html">nng_http_handler_alloc(3http)</a>, <a href="nng_http_handler_set_data.3http.html">nng_http_server_set_data(3http)</a>, <a href="nng_http_server_add_handler.3http.html">nng_http_server_add_handler(3http)</a>, diff --git a/man/tip/nng_http_handler_set_data.3http.html b/man/tip/nng_http_handler_set_data.3http.html index 882771fa..b587d005 100644 --- a/man/tip/nng_http_handler_set_data.3http.html +++ b/man/tip/nng_http_handler_set_data.3http.html @@ -562,24 +562,32 @@ this function is deallocate any resources associated with <em>data</em>.</p> <div class="sect1"> <h2 id="_errors">ERRORS</h2> <div class="sectionbody"> -<div class="dlist"> -<dl> -<dt class="hdlist1"><code>NNG_ENOMEM</code></dt> -<dd> +<div class="hdlist"> +<table> +<tr> +<td class="hdlist1"> +<code>NNG_ENOMEM</code> +</td> +<td class="hdlist2"> <p>Insufficient free memory to perform the operation.</p> -</dd> -<dt class="hdlist1"><code>NNG_ENOTSUP</code></dt> -<dd> +</td> +</tr> +<tr> +<td class="hdlist1"> +<code>NNG_ENOTSUP</code> +</td> +<td class="hdlist2"> <p>No support for HTTP in the library.</p> -</dd> -</dl> +</td> +</tr> +</table> </div> </div> </div> <div class="sect1"> <h2 id="_see_also">SEE ALSO</h2> <div class="sectionbody"> -<div class="paragraph"> +<div class="paragraph text-left"> <p><a href="nng_http_handler_alloc.3http.html">nng_http_handler_alloc(3http)</a>, <a href="nng_http_handler_get_data.3http.html">nng_http_server_get_data(3http)</a>, <a href="nng_http_server_add_handler.3http.html">nng_http_server_add_handler(3http)</a>, diff --git a/man/tip/nng_http_handler_set_host.3http.html b/man/tip/nng_http_handler_set_host.3http.html index fb939b03..853b2e7b 100644 --- a/man/tip/nng_http_handler_set_host.3http.html +++ b/man/tip/nng_http_handler_set_host.3http.html @@ -557,7 +557,7 @@ hosting. <div class="paragraph"> <p>The value of the <em>host</em> can include a colon and port, and should match exactly the value of the <code>Host</code> header sent by the client. -(Canonicaliztion of the host name is performed though.)</p> +(Canonicalization of the host name is performed though.)</p> </div> <div class="admonitionblock tip"> <table> @@ -587,24 +587,32 @@ the hostname or IP address, and ignores any trailing port number. <div class="sect1"> <h2 id="_errors">ERRORS</h2> <div class="sectionbody"> -<div class="dlist"> -<dl> -<dt class="hdlist1"><code>NNG_ENOMEM</code></dt> -<dd> +<div class="hdlist"> +<table> +<tr> +<td class="hdlist1"> +<code>NNG_ENOMEM</code> +</td> +<td class="hdlist2"> <p>Insufficient free memory to perform the operation.</p> -</dd> -<dt class="hdlist1"><code>NNG_ENOTSUP</code></dt> -<dd> +</td> +</tr> +<tr> +<td class="hdlist1"> +<code>NNG_ENOTSUP</code> +</td> +<td class="hdlist2"> <p>No support for HTTP in the library.</p> -</dd> -</dl> +</td> +</tr> +</table> </div> </div> </div> <div class="sect1"> <h2 id="_see_also">SEE ALSO</h2> <div class="sectionbody"> -<div class="paragraph"> +<div class="paragraph text-left"> <p><a href="nng_http_handler_alloc.3http.html">nng_http_handler_alloc(3http)</a>, <a href="nng_http_server_add_handler.3http.html">nng_http_server_add_handler(3http)</a>, <a href="nng.7.html">nng(7)</a></p> diff --git a/man/tip/nng_http_handler_set_method.3http.html b/man/tip/nng_http_handler_set_method.3http.html index 890a5cb8..c4f794c3 100644 --- a/man/tip/nng_http_handler_set_method.3http.html +++ b/man/tip/nng_http_handler_set_method.3http.html @@ -588,24 +588,32 @@ insist that the actual method sent over the wire be capitalized. <div class="sect1"> <h2 id="_errors">ERRORS</h2> <div class="sectionbody"> -<div class="dlist"> -<dl> -<dt class="hdlist1"><code>NNG_ENOMEM</code></dt> -<dd> +<div class="hdlist"> +<table> +<tr> +<td class="hdlist1"> +<code>NNG_ENOMEM</code> +</td> +<td class="hdlist2"> <p>Insufficient free memory exists.</p> -</dd> -<dt class="hdlist1"><code>NNG_ENOTSUP</code></dt> -<dd> +</td> +</tr> +<tr> +<td class="hdlist1"> +<code>NNG_ENOTSUP</code> +</td> +<td class="hdlist2"> <p>No support for HTTP in the library.</p> -</dd> -</dl> +</td> +</tr> +</table> </div> </div> </div> <div class="sect1"> <h2 id="_see_also">SEE ALSO</h2> <div class="sectionbody"> -<div class="paragraph"> +<div class="paragraph text-left"> <p><a href="nng_http_handler_alloc.3http.html">nng_http_handler_alloc(3http)</a>, <a href="nng_http_server_add_handler.3http.html">nng_http_server_add_handler(3http)</a>, <a href="nng_http_req_get_method.3http.html">nng_http_req_get_method(3http)</a>, diff --git a/man/tip/nng_http_handler_set_tree.3http.html b/man/tip/nng_http_handler_set_tree.3http.html index 6e7a2394..a27501c3 100644 --- a/man/tip/nng_http_handler_set_tree.3http.html +++ b/man/tip/nng_http_handler_set_tree.3http.html @@ -567,24 +567,32 @@ service address (path) supports dynamically generated children. <div class="sect1"> <h2 id="_errors">ERRORS</h2> <div class="sectionbody"> -<div class="dlist"> -<dl> -<dt class="hdlist1"><code>NNG_ENOMEM</code></dt> -<dd> +<div class="hdlist"> +<table> +<tr> +<td class="hdlist1"> +<code>NNG_ENOMEM</code> +</td> +<td class="hdlist2"> <p>Insufficient free memory exists.</p> -</dd> -<dt class="hdlist1"><code>NNG_ENOTSUP</code></dt> -<dd> +</td> +</tr> +<tr> +<td class="hdlist1"> +<code>NNG_ENOTSUP</code> +</td> +<td class="hdlist2"> <p>No support for HTTP in the library.</p> -</dd> -</dl> +</td> +</tr> +</table> </div> </div> </div> <div class="sect1"> <h2 id="_see_also">SEE ALSO</h2> <div class="sectionbody"> -<div class="paragraph"> +<div class="paragraph text-left"> <p><a href="nng_http_handler_alloc.3http.html">nng_http_handler_alloc(3http)</a>, <a href="nng_http_server_add_handler.3http.html">nng_http_server_add_handler(3http)</a>, <a href="nng_http_req_get_method.3http.html">nng_http_req_get_method(3http)</a>, diff --git a/man/tip/nng_http_hijack.3http.html b/man/tip/nng_http_hijack.3http.html index f494b4ae..08dae0f6 100644 --- a/man/tip/nng_http_hijack.3http.html +++ b/man/tip/nng_http_hijack.3http.html @@ -593,28 +593,40 @@ Most applications will never need to use this function. <div class="sect1"> <h2 id="_errors">ERRORS</h2> <div class="sectionbody"> -<div class="dlist"> -<dl> -<dt class="hdlist1"><code>NNG_ECLOSED</code></dt> -<dd> +<div class="hdlist"> +<table> +<tr> +<td class="hdlist1"> +<code>NNG_ECLOSED</code> +</td> +<td class="hdlist2"> <p>The connection was closed.</p> -</dd> -<dt class="hdlist1"><code>NNG_ENOMEM</code></dt> -<dd> +</td> +</tr> +<tr> +<td class="hdlist1"> +<code>NNG_ENOMEM</code> +</td> +<td class="hdlist2"> <p>Insufficient free memory exists.</p> -</dd> -<dt class="hdlist1"><code>NNG_ENOTSUP</code></dt> -<dd> +</td> +</tr> +<tr> +<td class="hdlist1"> +<code>NNG_ENOTSUP</code> +</td> +<td class="hdlist2"> <p>HTTP not supported.</p> -</dd> -</dl> +</td> +</tr> +</table> </div> </div> </div> <div class="sect1"> <h2 id="_see_also">SEE ALSO</h2> <div class="sectionbody"> -<div class="paragraph"> +<div class="paragraph text-left"> <p><a href="nng_strerror.3.html">nng_strerror(3)</a>, <a href="nng_http_conn_write_res.3http.html">nng_http_conn_write_res(3http)</a>, <a href="nng_http_handler_alloc.3http.html">nng_http_handler_alloc(3http)</a>, diff --git a/man/tip/nng_http_req_add_header.3http.html b/man/tip/nng_http_req_add_header.3http.html index 1b1b5700..f85d8bac 100644 --- a/man/tip/nng_http_req_add_header.3http.html +++ b/man/tip/nng_http_req_add_header.3http.html @@ -593,24 +593,32 @@ equivalent, whereas the value <code>Host:</code> is not a legal header key.</p> <div class="sect1"> <h2 id="_errors">ERRORS</h2> <div class="sectionbody"> -<div class="dlist"> -<dl> -<dt class="hdlist1"><code>NNG_ENOMEM</code></dt> -<dd> +<div class="hdlist"> +<table> +<tr> +<td class="hdlist1"> +<code>NNG_ENOMEM</code> +</td> +<td class="hdlist2"> <p>Insufficient memory to perform the operation.</p> -</dd> -<dt class="hdlist1"><code>NNG_ENOTSUP</code></dt> -<dd> +</td> +</tr> +<tr> +<td class="hdlist1"> +<code>NNG_ENOTSUP</code> +</td> +<td class="hdlist2"> <p>No support for HTTP in the library.</p> -</dd> -</dl> +</td> +</tr> +</table> </div> </div> </div> <div class="sect1"> <h2 id="_see_also">SEE ALSO</h2> <div class="sectionbody"> -<div class="paragraph"> +<div class="paragraph text-left"> <p><a href="nng_http_req_alloc.3http.html">nng_http_req_alloc(3http)</a>, <a href="nng_http_req_del_header.3http.html">nng_http_req_del_header(3http)</a>, <a href="nng_http_req_get_header.3http.html">nng_http_req_get_header(3http)</a>, diff --git a/man/tip/nng_http_req_alloc.3http.html b/man/tip/nng_http_req_alloc.3http.html index aa231abb..dd402519 100644 --- a/man/tip/nng_http_req_alloc.3http.html +++ b/man/tip/nng_http_req_alloc.3http.html @@ -555,24 +555,32 @@ to perform an HTTP/1.1 <code>GET</code> operation using the URL specified in <em <div class="sect1"> <h2 id="_errors">ERRORS</h2> <div class="sectionbody"> -<div class="dlist"> -<dl> -<dt class="hdlist1"><code>NNG_ENOMEM</code></dt> -<dd> +<div class="hdlist"> +<table> +<tr> +<td class="hdlist1"> +<code>NNG_ENOMEM</code> +</td> +<td class="hdlist2"> <p>Insufficient free memory exists to allocate a message.</p> -</dd> -<dt class="hdlist1"><code>NNG_ENOTSUP</code></dt> -<dd> +</td> +</tr> +<tr> +<td class="hdlist1"> +<code>NNG_ENOTSUP</code> +</td> +<td class="hdlist2"> <p>HTTP support not configured.</p> -</dd> -</dl> +</td> +</tr> +</table> </div> </div> </div> <div class="sect1"> <h2 id="_see_also">SEE ALSO</h2> <div class="sectionbody"> -<div class="paragraph"> +<div class="paragraph text-left"> <p><a href="nng_http_conn_read_req.3http.html">nng_http_conn_read_req(3http)</a>, <a href="nng_http_conn_write_req.3http.html">nng_http_conn_write_req(3http)</a>, <a href="nng_http_req_add_header.3http.html">nng_http_req_add_header(3http)</a>, diff --git a/man/tip/nng_http_req_copy_data.3http.html b/man/tip/nng_http_req_copy_data.3http.html index a0b2b82c..41acf6c9 100644 --- a/man/tip/nng_http_req_copy_data.3http.html +++ b/man/tip/nng_http_req_copy_data.3http.html @@ -599,24 +599,32 @@ It is a good idea to also set the <code>Content-Type</code> header. <div class="sect1"> <h2 id="_errors">ERRORS</h2> <div class="sectionbody"> -<div class="dlist"> -<dl> -<dt class="hdlist1"><code>NNG_ENOMEM</code></dt> -<dd> +<div class="hdlist"> +<table> +<tr> +<td class="hdlist1"> +<code>NNG_ENOMEM</code> +</td> +<td class="hdlist2"> <p>Insufficient memory to perform the operation.</p> -</dd> -<dt class="hdlist1"><code>NNG_ENOTSUP</code></dt> -<dd> +</td> +</tr> +<tr> +<td class="hdlist1"> +<code>NNG_ENOTSUP</code> +</td> +<td class="hdlist2"> <p>No support for HTTP in the library.</p> -</dd> -</dl> +</td> +</tr> +</table> </div> </div> </div> <div class="sect1"> <h2 id="_see_also">SEE ALSO</h2> <div class="sectionbody"> -<div class="paragraph"> +<div class="paragraph text-left"> <p><a href="nng_http_conn_write_req.3http.html">nng_http_conn_write_req(3http)</a>, <a href="nng_http_req_alloc.3http.html">nng_http_req_alloc(3http)</a>, <a href="nng_http_req_set_data.3http.html">nng_http_req_set_data(3http)</a>, diff --git a/man/tip/nng_http_req_del_header.3http.html b/man/tip/nng_http_req_del_header.3http.html index 794d17a5..bfa8609c 100644 --- a/man/tip/nng_http_req_del_header.3http.html +++ b/man/tip/nng_http_req_del_header.3http.html @@ -559,24 +559,32 @@ equivalent, whereas the value <code>Host:</code> is not a legal header key.</p> <div class="sect1"> <h2 id="_errors">ERRORS</h2> <div class="sectionbody"> -<div class="dlist"> -<dl> -<dt class="hdlist1"><code>NNG_ENOENT</code></dt> -<dd> +<div class="hdlist"> +<table> +<tr> +<td class="hdlist1"> +<code>NNG_ENOENT</code> +</td> +<td class="hdlist2"> <p>No header with the key <em>key</em> was present.</p> -</dd> -<dt class="hdlist1"><code>NNG_ENOTSUP</code></dt> -<dd> +</td> +</tr> +<tr> +<td class="hdlist1"> +<code>NNG_ENOTSUP</code> +</td> +<td class="hdlist2"> <p>No support for HTTP in the library.</p> -</dd> -</dl> +</td> +</tr> +</table> </div> </div> </div> <div class="sect1"> <h2 id="_see_also">SEE ALSO</h2> <div class="sectionbody"> -<div class="paragraph"> +<div class="paragraph text-left"> <p><a href="nng_http_req_alloc.3http.html">nng_http_req_alloc(3http)</a>, <a href="nng_http_req_add_header.3http.html">nng_http_req_add_header(3http)</a>, <a href="#">nng_http_req_del_header(3http)</a>, diff --git a/man/tip/nng_http_req_free.3http.html b/man/tip/nng_http_req_free.3http.html index 4ca6dcf5..f37ac9e3 100644 --- a/man/tip/nng_http_req_free.3http.html +++ b/man/tip/nng_http_req_free.3http.html @@ -561,7 +561,7 @@ body.book #toc,body.book #preamble,body.book h1.sect0,body.book .sect1>h2{page-b <div class="sect1"> <h2 id="_see_also">SEE ALSO</h2> <div class="sectionbody"> -<div class="paragraph"> +<div class="paragraph text-left"> <p><a href="nng_http_req_alloc.3http.html">nng_http_req_alloc(3http)</a>, <a href="nng.7.html">nng(7)</a></p> </div> diff --git a/man/tip/nng_http_req_get_header.3http.html b/man/tip/nng_http_req_get_header.3http.html index 07374301..058e9fa2 100644 --- a/man/tip/nng_http_req_get_header.3http.html +++ b/man/tip/nng_http_req_get_header.3http.html @@ -568,7 +568,7 @@ equivalent, whereas the value <code>Host:</code> will not find anything.</p> <div class="sect1"> <h2 id="_see_also">SEE ALSO</h2> <div class="sectionbody"> -<div class="paragraph"> +<div class="paragraph text-left"> <p><a href="nng_http_req_alloc.3http.html">nng_http_req_alloc(3http)</a>, <a href="nng_http_req_add_header.3http.html">nng_http_req_add_header(3http)</a>, <a href="nng_http_req_set_header.3http.html">nng_http_req_set_header(3http)</a>, diff --git a/man/tip/nng_http_req_get_method.3http.html b/man/tip/nng_http_req_get_method.3http.html index d71a2b00..35637e50 100644 --- a/man/tip/nng_http_req_get_method.3http.html +++ b/man/tip/nng_http_req_get_method.3http.html @@ -562,7 +562,7 @@ The value will be a string, such as "GET" or "POST".</p> <div class="sect1"> <h2 id="_see_also">SEE ALSO</h2> <div class="sectionbody"> -<div class="paragraph"> +<div class="paragraph text-left"> <p><a href="nng_http_req_alloc.3http.html">nng_http_req_alloc(3http)</a>, <a href="nng_http_req_set_method.3http.html">nng_http_req_set_method(3http)</a>, <a href="nng.7.html">nng(7)</a></p> diff --git a/man/tip/nng_http_req_get_uri.3http.html b/man/tip/nng_http_req_get_uri.3http.html index ae4f683b..82e47865 100644 --- a/man/tip/nng_http_req_get_uri.3http.html +++ b/man/tip/nng_http_req_get_uri.3http.html @@ -540,8 +540,8 @@ body.book #toc,body.book #preamble,body.book h1.sect0,body.book .sect1>h2{page-b <p>The <code>nng_http_req_get_uri()</code> returns the URI (path) associated with the HTTP the request <em>req</em>. The value returned includes the path, as well as any query information or -fragment. The value will look like a filesystem path -with those optional components appened, such as <code>/api/get_info.cgi?name=garrett</code>.</p> +fragment. The value will look like a file system path +with those optional components appended, such as <code>/api/get_info.cgi?name=garrett</code>.</p> </div> </div> </div> @@ -564,7 +564,7 @@ with those optional components appened, such as <code>/api/get_info.cgi?name=gar <div class="sect1"> <h2 id="_see_also">SEE ALSO</h2> <div class="sectionbody"> -<div class="paragraph"> +<div class="paragraph text-left"> <p><a href="nng_http_req_alloc.3http.html">nng_http_req_alloc(3http)</a>, <a href="nng_http_req_set_uri.3http.html">nng_http_req_set_uri(3http)</a>, <a href="nng.7.html">nng(7)</a></p> diff --git a/man/tip/nng_http_req_get_version.3http.html b/man/tip/nng_http_req_get_version.3http.html index a1b7993a..3bf77894 100644 --- a/man/tip/nng_http_req_get_version.3http.html +++ b/man/tip/nng_http_req_get_version.3http.html @@ -561,7 +561,7 @@ protocol version associated with the request <em>req</em>, such as "HTTP/1.1".</ <div class="sect1"> <h2 id="_see_also">SEE ALSO</h2> <div class="sectionbody"> -<div class="paragraph"> +<div class="paragraph text-left"> <p><a href="nng_http_req_alloc.3http.html">nng_http_req_alloc(3http)</a>, <a href="nng_http_req_set_version.3http.html">nng_http_req_set_version(3http)</a>, <a href="nng.7.html">nng(7)</a></p> diff --git a/man/tip/nng_http_req_set_data.3http.html b/man/tip/nng_http_req_set_data.3http.html index 62cdd90a..dbd495b7 100644 --- a/man/tip/nng_http_req_set_data.3http.html +++ b/man/tip/nng_http_req_set_data.3http.html @@ -601,24 +601,32 @@ It is a good idea to also set the <code>Content-Type</code> header. <div class="sect1"> <h2 id="_errors">ERRORS</h2> <div class="sectionbody"> -<div class="dlist"> -<dl> -<dt class="hdlist1"><code>NNG_ENOMEM</code></dt> -<dd> +<div class="hdlist"> +<table> +<tr> +<td class="hdlist1"> +<code>NNG_ENOMEM</code> +</td> +<td class="hdlist2"> <p>Insufficient memory to perform the operation.</p> -</dd> -<dt class="hdlist1"><code>NNG_ENOTSUP</code></dt> -<dd> +</td> +</tr> +<tr> +<td class="hdlist1"> +<code>NNG_ENOTSUP</code> +</td> +<td class="hdlist2"> <p>No support for HTTP in the library.</p> -</dd> -</dl> +</td> +</tr> +</table> </div> </div> </div> <div class="sect1"> <h2 id="_see_also">SEE ALSO</h2> <div class="sectionbody"> -<div class="paragraph"> +<div class="paragraph text-left"> <p><a href="nng_http_conn_write_req.3http.html">nng_http_conn_write_req(3http)</a>, <a href="nng_http_req_alloc.3http.html">nng_http_req_alloc(3http)</a>, <a href="nng_http_req_copy_data.3http.html">nng_http_req_copy_data(3http)</a>, diff --git a/man/tip/nng_http_req_set_header.3http.html b/man/tip/nng_http_req_set_header.3http.html index 7b22b0de..684e7719 100644 --- a/man/tip/nng_http_req_set_header.3http.html +++ b/man/tip/nng_http_req_set_header.3http.html @@ -575,24 +575,32 @@ equivalent, whereas the value <code>Host:</code> is not a legal header key.</p> <div class="sect1"> <h2 id="_errors">ERRORS</h2> <div class="sectionbody"> -<div class="dlist"> -<dl> -<dt class="hdlist1"><code>NNG_ENOMEM</code></dt> -<dd> +<div class="hdlist"> +<table> +<tr> +<td class="hdlist1"> +<code>NNG_ENOMEM</code> +</td> +<td class="hdlist2"> <p>Insufficient memory to perform the operation.</p> -</dd> -<dt class="hdlist1"><code>NNG_ENOTSUP</code></dt> -<dd> +</td> +</tr> +<tr> +<td class="hdlist1"> +<code>NNG_ENOTSUP</code> +</td> +<td class="hdlist2"> <p>No support for HTTP in the library.</p> -</dd> -</dl> +</td> +</tr> +</table> </div> </div> </div> <div class="sect1"> <h2 id="_see_also">SEE ALSO</h2> <div class="sectionbody"> -<div class="paragraph"> +<div class="paragraph text-left"> <p><a href="nng_http_req_alloc.3http.html">nng_http_req_alloc(3http)</a>, <a href="nng_http_req_add_header.3http.html">nng_http_req_add_header(3http)</a>, <a href="nng_http_req_del_header.3http.html">nng_http_req_del_header(3http)</a>, diff --git a/man/tip/nng_http_req_set_method.3http.html b/man/tip/nng_http_req_set_method.3http.html index e4e9d343..0cf499ee 100644 --- a/man/tip/nng_http_req_set_method.3http.html +++ b/man/tip/nng_http_req_set_method.3http.html @@ -561,24 +561,32 @@ be upper case.</p> <div class="sect1"> <h2 id="_errors">ERRORS</h2> <div class="sectionbody"> -<div class="dlist"> -<dl> -<dt class="hdlist1"><code>NNG_ENOMEM</code></dt> -<dd> +<div class="hdlist"> +<table> +<tr> +<td class="hdlist1"> +<code>NNG_ENOMEM</code> +</td> +<td class="hdlist2"> <p>Insufficient memory to perform the operation.</p> -</dd> -<dt class="hdlist1"><code>NNG_ENOTSUP</code></dt> -<dd> +</td> +</tr> +<tr> +<td class="hdlist1"> +<code>NNG_ENOTSUP</code> +</td> +<td class="hdlist2"> <p>No support for HTTP in the library.</p> -</dd> -</dl> +</td> +</tr> +</table> </div> </div> </div> <div class="sect1"> <h2 id="_see_also">SEE ALSO</h2> <div class="sectionbody"> -<div class="paragraph"> +<div class="paragraph text-left"> <p><a href="nng_http_req_alloc.3http.html">nng_http_req_alloc(3http)</a>, <a href="nng_http_req_get_method.3http.html">nng_http_req_get_method(3http)</a>, <a href="nng.7.html">nng(7)</a></p> diff --git a/man/tip/nng_http_req_set_uri.3http.html b/man/tip/nng_http_req_set_uri.3http.html index c76b132a..81a059da 100644 --- a/man/tip/nng_http_req_set_uri.3http.html +++ b/man/tip/nng_http_req_set_uri.3http.html @@ -586,24 +586,32 @@ contain a suitable value that can be used with this function. <div class="sect1"> <h2 id="_errors">ERRORS</h2> <div class="sectionbody"> -<div class="dlist"> -<dl> -<dt class="hdlist1"><code>NNG_ENOMEM</code></dt> -<dd> +<div class="hdlist"> +<table> +<tr> +<td class="hdlist1"> +<code>NNG_ENOMEM</code> +</td> +<td class="hdlist2"> <p>Insufficient memory to perform the operation.</p> -</dd> -<dt class="hdlist1"><code>NNG_ENOTSUP</code></dt> -<dd> +</td> +</tr> +<tr> +<td class="hdlist1"> +<code>NNG_ENOTSUP</code> +</td> +<td class="hdlist2"> <p>No support for HTTP in the library.</p> -</dd> -</dl> +</td> +</tr> +</table> </div> </div> </div> <div class="sect1"> <h2 id="_see_also">SEE ALSO</h2> <div class="sectionbody"> -<div class="paragraph"> +<div class="paragraph text-left"> <p><a href="nng_http_req_alloc.3http.html">nng_http_req_alloc(3http)</a>, <a href="nng_http_req_get_uri.3http.html">nng_http_req_get_uri(3http)</a>, <a href="nng_url_parse.3.html">nng_url_parse(3)</a>, diff --git a/man/tip/nng_http_req_set_version.3http.html b/man/tip/nng_http_req_set_version.3http.html index 5ccb290c..6d07edf7 100644 --- a/man/tip/nng_http_req_set_version.3http.html +++ b/man/tip/nng_http_req_set_version.3http.html @@ -585,24 +585,32 @@ Specifying any other version may result in unspecified behavior. <div class="sect1"> <h2 id="_errors">ERRORS</h2> <div class="sectionbody"> -<div class="dlist"> -<dl> -<dt class="hdlist1"><code>NNG_ENOMEM</code></dt> -<dd> +<div class="hdlist"> +<table> +<tr> +<td class="hdlist1"> +<code>NNG_ENOMEM</code> +</td> +<td class="hdlist2"> <p>Insufficient memory to perform the operation.</p> -</dd> -<dt class="hdlist1"><code>NNG_ENOTSUP</code></dt> -<dd> +</td> +</tr> +<tr> +<td class="hdlist1"> +<code>NNG_ENOTSUP</code> +</td> +<td class="hdlist2"> <p>No support for HTTP in the library.</p> -</dd> -</dl> +</td> +</tr> +</table> </div> </div> </div> <div class="sect1"> <h2 id="_see_also">SEE ALSO</h2> <div class="sectionbody"> -<div class="paragraph"> +<div class="paragraph text-left"> <p><a href="nng_http_req_alloc.3http.html">nng_http_req_alloc(3http)</a>, <a href="nng_http_req_get_version.3http.html">nng_http_req_get_version(3http)</a>, <a href="nng.7.html">nng(7)</a></p> diff --git a/man/tip/nng_http_res_add_header.3http.html b/man/tip/nng_http_res_add_header.3http.html index fff4a1db..e3058ffb 100644 --- a/man/tip/nng_http_res_add_header.3http.html +++ b/man/tip/nng_http_res_add_header.3http.html @@ -593,24 +593,32 @@ equivalent, whereas the value <code>Host:</code> is not a legal header key.</p> <div class="sect1"> <h2 id="_errors">ERRORS</h2> <div class="sectionbody"> -<div class="dlist"> -<dl> -<dt class="hdlist1"><code>NNG_ENOMEM</code></dt> -<dd> +<div class="hdlist"> +<table> +<tr> +<td class="hdlist1"> +<code>NNG_ENOMEM</code> +</td> +<td class="hdlist2"> <p>Insufficient memory to perform the operation.</p> -</dd> -<dt class="hdlist1"><code>NNG_ENOTSUP</code></dt> -<dd> +</td> +</tr> +<tr> +<td class="hdlist1"> +<code>NNG_ENOTSUP</code> +</td> +<td class="hdlist2"> <p>No support for HTTP in the library.</p> -</dd> -</dl> +</td> +</tr> +</table> </div> </div> </div> <div class="sect1"> <h2 id="_see_also">SEE ALSO</h2> <div class="sectionbody"> -<div class="paragraph"> +<div class="paragraph text-left"> <p><a href="nng_http_res_alloc.3http.html">nng_http_res_alloc(3http)</a>, <a href="nng_http_res_del_header.3http.html">nng_http_res_del_header(3http)</a>, <a href="nng_http_res_get_header.3http.html">nng_http_res_get_header(3http)</a>, diff --git a/man/tip/nng_http_res_alloc.3http.html b/man/tip/nng_http_res_alloc.3http.html index 2cff9201..5a77269c 100644 --- a/man/tip/nng_http_res_alloc.3http.html +++ b/man/tip/nng_http_res_alloc.3http.html @@ -569,24 +569,32 @@ When an error response is needed, consider using <div class="sect1"> <h2 id="_errors">ERRORS</h2> <div class="sectionbody"> -<div class="dlist"> -<dl> -<dt class="hdlist1"><code>NNG_ENOMEM</code></dt> -<dd> +<div class="hdlist"> +<table> +<tr> +<td class="hdlist1"> +<code>NNG_ENOMEM</code> +</td> +<td class="hdlist2"> <p>Insufficient free memory exists to allocate a message.</p> -</dd> -<dt class="hdlist1"><code>NNG_ENOTSUP</code></dt> -<dd> +</td> +</tr> +<tr> +<td class="hdlist1"> +<code>NNG_ENOTSUP</code> +</td> +<td class="hdlist2"> <p>HTTP support not configured.</p> -</dd> -</dl> +</td> +</tr> +</table> </div> </div> </div> <div class="sect1"> <h2 id="_see_also">SEE ALSO</h2> <div class="sectionbody"> -<div class="paragraph"> +<div class="paragraph text-left"> <p><a href="nng_http_conn_read_res.3http.html">nng_http_conn_read_res(3http)</a>, <a href="nng_http_conn_write_res.3http.html">nng_http_conn_write_res(3http)</a>, <a href="nng_http_req_alloc.3http.html">nng_http_req_alloc(3http)</a>, diff --git a/man/tip/nng_http_res_alloc_error.3http.html b/man/tip/nng_http_res_alloc_error.3http.html index 9b215079..7667b4a1 100644 --- a/man/tip/nng_http_res_alloc_error.3http.html +++ b/man/tip/nng_http_res_alloc_error.3http.html @@ -572,24 +572,32 @@ This is the simplest way to generate an error response. <div class="sect1"> <h2 id="_errors">ERRORS</h2> <div class="sectionbody"> -<div class="dlist"> -<dl> -<dt class="hdlist1"><code>NNG_ENOMEM</code></dt> -<dd> +<div class="hdlist"> +<table> +<tr> +<td class="hdlist1"> +<code>NNG_ENOMEM</code> +</td> +<td class="hdlist2"> <p>Insufficient free memory exists to allocate a message.</p> -</dd> -<dt class="hdlist1"><code>NNG_ENOTSUP</code></dt> -<dd> +</td> +</tr> +<tr> +<td class="hdlist1"> +<code>NNG_ENOTSUP</code> +</td> +<td class="hdlist2"> <p>HTTP support not configured.</p> -</dd> -</dl> +</td> +</tr> +</table> </div> </div> </div> <div class="sect1"> <h2 id="_see_also">SEE ALSO</h2> <div class="sectionbody"> -<div class="paragraph"> +<div class="paragraph text-left"> <p><a href="nng_http_res_alloc.3http.html">nng_http_res_alloc(3http)</a>, <a href="nng_http_res_free.3http.html">nng_http_res_free(3http)</a>, <a href="nng_http_res_set_reason.3http.html">nng_http_res_set_reason(3http)</a>, diff --git a/man/tip/nng_http_res_copy_data.3http.html b/man/tip/nng_http_res_copy_data.3http.html index 0c6bba5b..6cb1cb0a 100644 --- a/man/tip/nng_http_res_copy_data.3http.html +++ b/man/tip/nng_http_res_copy_data.3http.html @@ -599,24 +599,32 @@ It is a good idea to also set the <code>Content-Type</code> header. <div class="sect1"> <h2 id="_errors">ERRORS</h2> <div class="sectionbody"> -<div class="dlist"> -<dl> -<dt class="hdlist1"><code>NNG_ENOMEM</code></dt> -<dd> +<div class="hdlist"> +<table> +<tr> +<td class="hdlist1"> +<code>NNG_ENOMEM</code> +</td> +<td class="hdlist2"> <p>Insufficient memory to perform the operation.</p> -</dd> -<dt class="hdlist1"><code>NNG_ENOTSUP</code></dt> -<dd> +</td> +</tr> +<tr> +<td class="hdlist1"> +<code>NNG_ENOTSUP</code> +</td> +<td class="hdlist2"> <p>No support for HTTP in the library.</p> -</dd> -</dl> +</td> +</tr> +</table> </div> </div> </div> <div class="sect1"> <h2 id="_see_also">SEE ALSO</h2> <div class="sectionbody"> -<div class="paragraph"> +<div class="paragraph text-left"> <p><a href="nng_http_conn_write_res.3http.html">nng_http_conn_write_res(3http)</a>, <a href="nng_http_res_alloc.3http.html">nng_http_res_alloc(3http)</a>, <a href="nng_http_res_set_data.3http.html">nng_http_res_set_data(3http)</a>, diff --git a/man/tip/nng_http_res_del_header.3http.html b/man/tip/nng_http_res_del_header.3http.html index e035046b..32c0cab3 100644 --- a/man/tip/nng_http_res_del_header.3http.html +++ b/man/tip/nng_http_res_del_header.3http.html @@ -558,24 +558,32 @@ equivalent, whereas the value <code>Host:</code> is not a legal header key.</p> <div class="sect1"> <h2 id="_errors">ERRORS</h2> <div class="sectionbody"> -<div class="dlist"> -<dl> -<dt class="hdlist1"><code>NNG_ENOENT</code></dt> -<dd> +<div class="hdlist"> +<table> +<tr> +<td class="hdlist1"> +<code>NNG_ENOENT</code> +</td> +<td class="hdlist2"> <p>No header with the key <em>key</em> was present.</p> -</dd> -<dt class="hdlist1"><code>NNG_ENOTSUP</code></dt> -<dd> +</td> +</tr> +<tr> +<td class="hdlist1"> +<code>NNG_ENOTSUP</code> +</td> +<td class="hdlist2"> <p>No support for HTTP in the library.</p> -</dd> -</dl> +</td> +</tr> +</table> </div> </div> </div> <div class="sect1"> <h2 id="_see_also">SEE ALSO</h2> <div class="sectionbody"> -<div class="paragraph"> +<div class="paragraph text-left"> <p><a href="nng_http_res_alloc.3http.html">nng_http_res_alloc(3http)</a>, <a href="nng_http_res_add_header.3http.html">nng_http_res_add_header(3http)</a>, <a href="#">nng_http_res_del_header(3http)</a>, diff --git a/man/tip/nng_http_res_free.3http.html b/man/tip/nng_http_res_free.3http.html index 82651826..908fbf7e 100644 --- a/man/tip/nng_http_res_free.3http.html +++ b/man/tip/nng_http_res_free.3http.html @@ -561,7 +561,7 @@ body.book #toc,body.book #preamble,body.book h1.sect0,body.book .sect1>h2{page-b <div class="sect1"> <h2 id="_see_also">SEE ALSO</h2> <div class="sectionbody"> -<div class="paragraph"> +<div class="paragraph text-left"> <p><a href="nng_http_res_alloc.3http.html">nng_http_req_alloc(3http)</a>, <a href="nng.7.html">nng(7)</a></p> </div> diff --git a/man/tip/nng_http_res_get_header.3http.html b/man/tip/nng_http_res_get_header.3http.html index 5e5223c5..f1db35f6 100644 --- a/man/tip/nng_http_res_get_header.3http.html +++ b/man/tip/nng_http_res_get_header.3http.html @@ -568,7 +568,7 @@ equivalent, whereas the value <code>Host:</code> will not find anything.</p> <div class="sect1"> <h2 id="_see_also">SEE ALSO</h2> <div class="sectionbody"> -<div class="paragraph"> +<div class="paragraph text-left"> <p><a href="nng_http_res_alloc.3http.html">nng_http_res_alloc(3http)</a>, <a href="nng_http_res_add_header.3http.html">nng_http_res_add_header(3http)</a>, <a href="nng_http_res_set_header.3http.html">nng_http_res_set_header(3http)</a>, diff --git a/man/tip/nng_http_res_get_reason.3http.html b/man/tip/nng_http_res_get_reason.3http.html index 9ad43597..8d22042b 100644 --- a/man/tip/nng_http_res_get_reason.3http.html +++ b/man/tip/nng_http_res_get_reason.3http.html @@ -564,7 +564,7 @@ would be obtained from <div class="sect1"> <h2 id="_see_also">SEE ALSO</h2> <div class="sectionbody"> -<div class="paragraph"> +<div class="paragraph text-left"> <p><a href="nng_http_res_alloc.3http.html">nng_http_res_alloc(3http)</a>, <a href="nng_http_res_get_status.3http.html">nng_http_res_get_status(3http)</a>, <a href="nng_http_res_set_reason.3http.html">nng_http_res_set_reason(3http)</a>, diff --git a/man/tip/nng_http_res_get_status.3http.html b/man/tip/nng_http_res_get_status.3http.html index 49893956..bf02c788 100644 --- a/man/tip/nng_http_res_get_status.3http.html +++ b/man/tip/nng_http_res_get_status.3http.html @@ -644,7 +644,7 @@ consider also including the “reason phrase” obtained with <div class="sect1"> <h2 id="_see_also">SEE ALSO</h2> <div class="sectionbody"> -<div class="paragraph"> +<div class="paragraph text-left"> <p><a href="nng_http_res_alloc.3http.html">nng_http_res_alloc(3http)</a>, <a href="nng_http_res_get_reason.3http.html">nng_http_res_get_reason(3http)</a>, <a href="nng_http_res_set_status.3http.html">nng_http_res_set_status(3http)</a>, diff --git a/man/tip/nng_http_res_get_version.3http.html b/man/tip/nng_http_res_get_version.3http.html index eb5bea34..370cb5aa 100644 --- a/man/tip/nng_http_res_get_version.3http.html +++ b/man/tip/nng_http_res_get_version.3http.html @@ -561,7 +561,7 @@ protocol version associated with the request <em>res</em>, such as "HTTP/1.1".</ <div class="sect1"> <h2 id="_see_also">SEE ALSO</h2> <div class="sectionbody"> -<div class="paragraph"> +<div class="paragraph text-left"> <p><a href="nng_http_res_alloc.3http.html">nng_http_res_alloc(3http)</a>, <a href="nng_http_res_set_version.3http.html">nng_http_res_set_version(3http)</a>, <a href="nng.7.html">nng(7)</a></p> diff --git a/man/tip/nng_http_res_set_data.3http.html b/man/tip/nng_http_res_set_data.3http.html index bcb4e7dd..5199126e 100644 --- a/man/tip/nng_http_res_set_data.3http.html +++ b/man/tip/nng_http_res_set_data.3http.html @@ -601,24 +601,32 @@ It is a good idea to also set the <code>Content-Type</code> header. <div class="sect1"> <h2 id="_errors">ERRORS</h2> <div class="sectionbody"> -<div class="dlist"> -<dl> -<dt class="hdlist1"><code>NNG_ENOMEM</code></dt> -<dd> +<div class="hdlist"> +<table> +<tr> +<td class="hdlist1"> +<code>NNG_ENOMEM</code> +</td> +<td class="hdlist2"> <p>Insufficient memory to perform the operation.</p> -</dd> -<dt class="hdlist1"><code>NNG_ENOTSUP</code></dt> -<dd> +</td> +</tr> +<tr> +<td class="hdlist1"> +<code>NNG_ENOTSUP</code> +</td> +<td class="hdlist2"> <p>No support for HTTP in the library.</p> -</dd> -</dl> +</td> +</tr> +</table> </div> </div> </div> <div class="sect1"> <h2 id="_see_also">SEE ALSO</h2> <div class="sectionbody"> -<div class="paragraph"> +<div class="paragraph text-left"> <p><a href="nng_http_conn_write_res.3http.html">nng_http_conn_write_res(3http)</a>, <a href="nng_http_res_alloc.3http.html">nng_http_res_alloc(3http)</a>, <a href="nng_http_res_copy_data.3http.html">nng_http_res_copy_data(3http)</a>, diff --git a/man/tip/nng_http_res_set_header.3http.html b/man/tip/nng_http_res_set_header.3http.html index 9c0f2156..d30364b1 100644 --- a/man/tip/nng_http_res_set_header.3http.html +++ b/man/tip/nng_http_res_set_header.3http.html @@ -575,24 +575,32 @@ equivalent, whereas the value <code>Host:</code> is not a legal header key.</p> <div class="sect1"> <h2 id="_errors">ERRORS</h2> <div class="sectionbody"> -<div class="dlist"> -<dl> -<dt class="hdlist1"><code>NNG_ENOMEM</code></dt> -<dd> +<div class="hdlist"> +<table> +<tr> +<td class="hdlist1"> +<code>NNG_ENOMEM</code> +</td> +<td class="hdlist2"> <p>Insufficient memory to perform the operation.</p> -</dd> -<dt class="hdlist1"><code>NNG_ENOTSUP</code></dt> -<dd> +</td> +</tr> +<tr> +<td class="hdlist1"> +<code>NNG_ENOTSUP</code> +</td> +<td class="hdlist2"> <p>No support for HTTP in the library.</p> -</dd> -</dl> +</td> +</tr> +</table> </div> </div> </div> <div class="sect1"> <h2 id="_see_also">SEE ALSO</h2> <div class="sectionbody"> -<div class="paragraph"> +<div class="paragraph text-left"> <p><a href="nng_http_res_alloc.3http.html">nng_http_res_alloc(3http)</a>, <a href="nng_http_res_add_header.3http.html">nng_http_res_add_header(3http)</a>, <a href="nng_http_res_del_header.3http.html">nng_http_res_del_header(3http)</a>, diff --git a/man/tip/nng_http_res_set_reason.3http.html b/man/tip/nng_http_res_set_reason.3http.html index b94ddea6..87413f33 100644 --- a/man/tip/nng_http_res_set_reason.3http.html +++ b/man/tip/nng_http_res_set_reason.3http.html @@ -537,7 +537,7 @@ body.book #toc,body.book #preamble,body.book h1.sect0,body.book .sect1>h2{page-b <h2 id="_description">DESCRIPTION</h2> <div class="sectionbody"> <div class="paragraph"> -<p>The <code>nng_http_res_set_reason()</code> sets the human readable "reason phrase" +<p>The <code>nng_http_res_set_reason()</code> sets the human readable “reason phrase” associated with the response <em>res</em> to <em>reason</em>.</p> </div> <div class="paragraph"> @@ -553,7 +553,7 @@ phrase is supplied based upon the value of the status code (see </td> <td class="content"> The <em>reason</em> is never parsed automatically, but it can be a hint for humans - to help them understand the nature of any erroroneous result. + to help them understand the nature of any erroneous result. </td> </tr> </table> @@ -574,24 +574,32 @@ The <em>reason</em> is never parsed automatically, but it can be a hint for huma <div class="sect1"> <h2 id="_errors">ERRORS</h2> <div class="sectionbody"> -<div class="dlist"> -<dl> -<dt class="hdlist1"><code>NNG_ENOMEM</code></dt> -<dd> +<div class="hdlist"> +<table> +<tr> +<td class="hdlist1"> +<code>NNG_ENOMEM</code> +</td> +<td class="hdlist2"> <p>Insufficient memory to perform the operation.</p> -</dd> -<dt class="hdlist1"><code>NNG_ENOTSUP</code></dt> -<dd> +</td> +</tr> +<tr> +<td class="hdlist1"> +<code>NNG_ENOTSUP</code> +</td> +<td class="hdlist2"> <p>No support for HTTP in the library.</p> -</dd> -</dl> +</td> +</tr> +</table> </div> </div> </div> <div class="sect1"> <h2 id="_see_also">SEE ALSO</h2> <div class="sectionbody"> -<div class="paragraph"> +<div class="paragraph text-left"> <p><a href="nng_http_res_alloc.3http.html">nng_http_res_alloc(3http)</a>, <a href="nng_http_res_get_reason.3http.html">nng_http_req_get_reason(3http)</a>, <a href="nng_http_res_set_status.3http.html">nng_http_req_set_status(3http)</a>, diff --git a/man/tip/nng_http_res_set_status.3http.html b/man/tip/nng_http_res_set_status.3http.html index aba3145d..08f112f3 100644 --- a/man/tip/nng_http_res_set_status.3http.html +++ b/man/tip/nng_http_res_set_status.3http.html @@ -610,7 +610,7 @@ that only a valid code is supplied.</p> <span class="tok-n">NNG_HTTP_STATUS_LOOP_DETECTED</span> <span class="tok-o">=</span> <span class="tok-mi">508</span><span class="tok-p">,</span> <span class="tok-n">NNG_HTTP_STATUS_NOT_EXTENDED</span> <span class="tok-o">=</span> <span class="tok-mi">510</span><span class="tok-p">,</span> <span class="tok-n">NNG_HTTP_STATUS_NETWORK_AUTH_REQUIRED</span> <span class="tok-o">=</span> <span class="tok-mi">511</span><span class="tok-p">,</span> -<span class="tok-p">}</span></code></pre> +<span class="tok-p">};</span></code></pre> </div> </div> <div class="paragraph"> @@ -644,20 +644,24 @@ This will help any humans who may have to diagnose a failure. <div class="sect1"> <h2 id="_errors">ERRORS</h2> <div class="sectionbody"> -<div class="dlist"> -<dl> -<dt class="hdlist1"><code>NNG_ENOTSUP</code></dt> -<dd> +<div class="hdlist"> +<table> +<tr> +<td class="hdlist1"> +<code>NNG_ENOTSUP</code> +</td> +<td class="hdlist2"> <p>No support for HTTP in the library.</p> -</dd> -</dl> +</td> +</tr> +</table> </div> </div> </div> <div class="sect1"> <h2 id="_see_also">SEE ALSO</h2> <div class="sectionbody"> -<div class="paragraph"> +<div class="paragraph text-left"> <p><a href="nng_http_res_alloc.3http.html">nng_http_res_alloc(3http)</a>, <a href="nng_http_res_get_status.3http.html">nng_http_req_get_status(3http)</a>, <a href="nng_http_res_set_reason.3http.html">nng_http_req_set_reason(3http)</a>, diff --git a/man/tip/nng_http_res_set_version.3http.html b/man/tip/nng_http_res_set_version.3http.html index 4b647ef0..9f9d5dc9 100644 --- a/man/tip/nng_http_res_set_version.3http.html +++ b/man/tip/nng_http_res_set_version.3http.html @@ -585,24 +585,32 @@ Specifying any other version may result in unspecified behavior. <div class="sect1"> <h2 id="_errors">ERRORS</h2> <div class="sectionbody"> -<div class="dlist"> -<dl> -<dt class="hdlist1"><code>NNG_ENOMEM</code></dt> -<dd> +<div class="hdlist"> +<table> +<tr> +<td class="hdlist1"> +<code>NNG_ENOMEM</code> +</td> +<td class="hdlist2"> <p>Insufficient memory to perform the operation.</p> -</dd> -<dt class="hdlist1"><code>NNG_ENOTSUP</code></dt> -<dd> +</td> +</tr> +<tr> +<td class="hdlist1"> +<code>NNG_ENOTSUP</code> +</td> +<td class="hdlist2"> <p>No support for HTTP in the library.</p> -</dd> -</dl> +</td> +</tr> +</table> </div> </div> </div> <div class="sect1"> <h2 id="_see_also">SEE ALSO</h2> <div class="sectionbody"> -<div class="paragraph"> +<div class="paragraph text-left"> <p><a href="nng_http_res_alloc.3http.html">nng_http_res_alloc(3http)</a>, <a href="nng_http_req_get_version.3http.html">nng_http_req_get_version(3http)</a>, <a href="nng.7.html">nng(7)</a></p> diff --git a/man/tip/nng_http_server_add_handler.3http.html b/man/tip/nng_http_server_add_handler.3http.html index 00886c98..2faf1e65 100644 --- a/man/tip/nng_http_server_add_handler.3http.html +++ b/man/tip/nng_http_server_add_handler.3http.html @@ -565,28 +565,40 @@ deallocated, the handler and any of its resources will also be deallocated.</p> <div class="sect1"> <h2 id="_errors">ERRORS</h2> <div class="sectionbody"> -<div class="dlist"> -<dl> -<dt class="hdlist1"><code>NNG_EADDRINUSE</code></dt> -<dd> +<div class="hdlist"> +<table> +<tr> +<td class="hdlist1"> +<code>NNG_EADDRINUSE</code> +</td> +<td class="hdlist2"> <p>Handler conflicts with another handler.</p> -</dd> -<dt class="hdlist1"><code>NNG_ENOMEM</code></dt> -<dd> +</td> +</tr> +<tr> +<td class="hdlist1"> +<code>NNG_ENOMEM</code> +</td> +<td class="hdlist2"> <p>Insufficient free memory exists.</p> -</dd> -<dt class="hdlist1"><code>NNG_ENOTSUP</code></dt> -<dd> +</td> +</tr> +<tr> +<td class="hdlist1"> +<code>NNG_ENOTSUP</code> +</td> +<td class="hdlist2"> <p>HTTP not supported.</p> -</dd> -</dl> +</td> +</tr> +</table> </div> </div> </div> <div class="sect1"> <h2 id="_see_also">SEE ALSO</h2> <div class="sectionbody"> -<div class="paragraph"> +<div class="paragraph text-left"> <p><a href="nng_http_handler_alloc.3http.html">nng_http_handler_alloc(3http)</a>, <a href="nng_http_server_del_handler.3http.html">nng_http_server_del_handler(3http)</a>, <a href="nng_http_server_hold.3http.html">nng_http_server_hold(3http)</a>, diff --git a/man/tip/nng_http_server_del_handler.3http.html b/man/tip/nng_http_server_del_handler.3http.html index 8b60bbd7..e0bb7409 100644 --- a/man/tip/nng_http_server_del_handler.3http.html +++ b/man/tip/nng_http_server_del_handler.3http.html @@ -557,24 +557,32 @@ of the caller to dispose of the handler, or add it to another server instance.</ <div class="sect1"> <h2 id="_errors">ERRORS</h2> <div class="sectionbody"> -<div class="dlist"> -<dl> -<dt class="hdlist1"><code>NNG_ENOENT</code></dt> -<dd> +<div class="hdlist"> +<table> +<tr> +<td class="hdlist1"> +<code>NNG_ENOENT</code> +</td> +<td class="hdlist2"> <p>Handler is not registered with server.</p> -</dd> -<dt class="hdlist1"><code>NNG_ENOTSUP</code></dt> -<dd> +</td> +</tr> +<tr> +<td class="hdlist1"> +<code>NNG_ENOTSUP</code> +</td> +<td class="hdlist2"> <p>HTTP not supported.</p> -</dd> -</dl> +</td> +</tr> +</table> </div> </div> </div> <div class="sect1"> <h2 id="_see_also">SEE ALSO</h2> <div class="sectionbody"> -<div class="paragraph"> +<div class="paragraph text-left"> <p><a href="nng_http_handler_free.3http.html">nng_http_handler_free(3http)</a>, <a href="nng_http_server_add_handler.3http.html">nng_http_server_add_handler(3http)</a>, <a href="nng_strerror.3.html">nng_strerror(3)</a>, diff --git a/man/tip/nng_http_server_get_tls.3http.html b/man/tip/nng_http_server_get_tls.3http.html index e03108c1..f506f99f 100644 --- a/man/tip/nng_http_server_get_tls.3http.html +++ b/man/tip/nng_http_server_get_tls.3http.html @@ -557,24 +557,32 @@ to use HTTPS.</p> <div class="sect1"> <h2 id="_errors">ERRORS</h2> <div class="sectionbody"> -<div class="dlist"> -<dl> -<dt class="hdlist1"><code>NNG_ENOMEM</code></dt> -<dd> +<div class="hdlist"> +<table> +<tr> +<td class="hdlist1"> +<code>NNG_ENOMEM</code> +</td> +<td class="hdlist2"> <p>Insufficient free memory exists.</p> -</dd> -<dt class="hdlist1"><code>NNG_ENOTSUP</code></dt> -<dd> +</td> +</tr> +<tr> +<td class="hdlist1"> +<code>NNG_ENOTSUP</code> +</td> +<td class="hdlist2"> <p>Either HTTP or TLS not supported.</p> -</dd> -</dl> +</td> +</tr> +</table> </div> </div> </div> <div class="sect1"> <h2 id="_see_also">SEE ALSO</h2> <div class="sectionbody"> -<div class="paragraph"> +<div class="paragraph text-left"> <p><a href="nng_http_server_hold.3http.html">nng_http_server_hold(3http)</a>, <a href="nng_http_server_set_tls.3http.html">nng_http_server_set_tls(3http)</a>, <a href="nng_http_server_start.3http.html">nng_http_server_start(3http)</a>, diff --git a/man/tip/nng_http_server_hold.3http.html b/man/tip/nng_http_server_hold.3http.html index 6930499b..f7010cb5 100644 --- a/man/tip/nng_http_server_hold.3http.html +++ b/man/tip/nng_http_server_hold.3http.html @@ -582,24 +582,32 @@ It is recommended to use canonical IP addresses or names in the <div class="sect1"> <h2 id="_errors">ERRORS</h2> <div class="sectionbody"> -<div class="dlist"> -<dl> -<dt class="hdlist1"><code>NNG_ENOMEM</code></dt> -<dd> +<div class="hdlist"> +<table> +<tr> +<td class="hdlist1"> +<code>NNG_ENOMEM</code> +</td> +<td class="hdlist2"> <p>Insufficient free memory exists.</p> -</dd> -<dt class="hdlist1"><code>NNG_ENOTSUP</code></dt> -<dd> +</td> +</tr> +<tr> +<td class="hdlist1"> +<code>NNG_ENOTSUP</code> +</td> +<td class="hdlist2"> <p>HTTP not supported.</p> -</dd> -</dl> +</td> +</tr> +</table> </div> </div> </div> <div class="sect1"> <h2 id="_see_also">SEE ALSO</h2> <div class="sectionbody"> -<div class="paragraph"> +<div class="paragraph text-left"> <p><a href="nng_http_server_add_handler.3http.html">nng_http_server_add_handler(3http)</a>, <a href="nng_http_server_release.3http.html">nng_http_server_release(3http)</a>, <a href="nng_http_server_stop.3http.html">nng_http_server_stop(3http)</a>, diff --git a/man/tip/nng_http_server_release.3http.html b/man/tip/nng_http_server_release.3http.html index 810f881e..fc9e9641 100644 --- a/man/tip/nng_http_server_release.3http.html +++ b/man/tip/nng_http_server_release.3http.html @@ -582,7 +582,7 @@ times than it has been held. <div class="sect1"> <h2 id="_see_also">SEE ALSO</h2> <div class="sectionbody"> -<div class="paragraph"> +<div class="paragraph text-left"> <p><a href="nng_http_server_hold.3http.html">nng_http_server_hold(3http)</a>, <a href="nng_http_server_stop.3http.html">nng_http_server_stop(3http)</a>, <a href="nng.7.html">nng(7)</a></p> diff --git a/man/tip/nng_http_server_set_tls.3http.html b/man/tip/nng_http_server_set_tls.3http.html index 6e5ff139..7e3c8864 100644 --- a/man/tip/nng_http_server_set_tls.3http.html +++ b/man/tip/nng_http_server_set_tls.3http.html @@ -587,28 +587,40 @@ Generally, the <em>cfg</em> must have a configured private key, set with <div class="sect1"> <h2 id="_errors">ERRORS</h2> <div class="sectionbody"> -<div class="dlist"> -<dl> -<dt class="hdlist1"><code>NNG_EBUSY</code></dt> -<dd> +<div class="hdlist"> +<table> +<tr> +<td class="hdlist1"> +<code>NNG_EBUSY</code> +</td> +<td class="hdlist2"> <p>Server instance is running.</p> -</dd> -<dt class="hdlist1"><code>NNG_ENOMEM</code></dt> -<dd> +</td> +</tr> +<tr> +<td class="hdlist1"> +<code>NNG_ENOMEM</code> +</td> +<td class="hdlist2"> <p>Insufficient free memory exists.</p> -</dd> -<dt class="hdlist1"><code>NNG_ENOTSUP</code></dt> -<dd> +</td> +</tr> +<tr> +<td class="hdlist1"> +<code>NNG_ENOTSUP</code> +</td> +<td class="hdlist2"> <p>Either HTTP or TLS not supported.</p> -</dd> -</dl> +</td> +</tr> +</table> </div> </div> </div> <div class="sect1"> <h2 id="_see_also">SEE ALSO</h2> <div class="sectionbody"> -<div class="paragraph"> +<div class="paragraph text-left"> <p><a href="nng_http_server_get_tls.3http.html">nng_http_server_get_tls(3http)</a>, <a href="nng_http_server_hold.3http.html">nng_http_server_hold(3http)</a>, <a href="nng_http_server_start.3http.html">nng_http_server_start(3http)</a>, diff --git a/man/tip/nng_http_server_start.3http.html b/man/tip/nng_http_server_start.3http.html index 461405d5..cd018a91 100644 --- a/man/tip/nng_http_server_start.3http.html +++ b/man/tip/nng_http_server_start.3http.html @@ -554,32 +554,48 @@ connections and handling HTTP requests.</p> <div class="sect1"> <h2 id="_errors">ERRORS</h2> <div class="sectionbody"> -<div class="dlist"> -<dl> -<dt class="hdlist1"><code>NNG_EADDRINUSE</code></dt> -<dd> -<p>The TCP port is unavaialble.</p> -</dd> -<dt class="hdlist1"><code>NNG_EADDRINVAL</code></dt> -<dd> +<div class="hdlist"> +<table> +<tr> +<td class="hdlist1"> +<code>NNG_EADDRINUSE</code> +</td> +<td class="hdlist2"> +<p>The TCP port is unavailable.</p> +</td> +</tr> +<tr> +<td class="hdlist1"> +<code>NNG_EADDRINVAL</code> +</td> +<td class="hdlist2"> <p>The server is configured with an invalid address.</p> -</dd> -<dt class="hdlist1"><code>NNG_ENOMEM</code></dt> -<dd> +</td> +</tr> +<tr> +<td class="hdlist1"> +<code>NNG_ENOMEM</code> +</td> +<td class="hdlist2"> <p>Insufficient free memory exists.</p> -</dd> -<dt class="hdlist1"><code>NNG_ENOTSUP</code></dt> -<dd> +</td> +</tr> +<tr> +<td class="hdlist1"> +<code>NNG_ENOTSUP</code> +</td> +<td class="hdlist2"> <p>HTTP not supported.</p> -</dd> -</dl> +</td> +</tr> +</table> </div> </div> </div> <div class="sect1"> <h2 id="_see_also">SEE ALSO</h2> <div class="sectionbody"> -<div class="paragraph"> +<div class="paragraph text-left"> <p><a href="nng_http_server_hold.3http.html">nng_http_server_hold(3http)</a>, <a href="nng_http_server_release.3http.html">nng_http_server_release(3http)</a>, <a href="nng_http_server_stop.3http.html">nng_http_server_stop(3http)</a>, diff --git a/man/tip/nng_http_server_stop.3http.html b/man/tip/nng_http_server_stop.3http.html index ea4ed2f6..ab07b63a 100644 --- a/man/tip/nng_http_server_stop.3http.html +++ b/man/tip/nng_http_server_stop.3http.html @@ -562,7 +562,7 @@ any HTTP connections associated with it.</p> <div class="sect1"> <h2 id="_see_also">SEE ALSO</h2> <div class="sectionbody"> -<div class="paragraph"> +<div class="paragraph text-left"> <p><a href="nng_http_server_hold.3http.html">nng_http_server_hold(3http)</a>, <a href="nng_http_server_start.3http.html">nng_http_server_start(3http)</a>, <a href="nng.7.html">nng(7)</a></p> diff --git a/man/tip/nng_inproc.7.html b/man/tip/nng_inproc.7.html index 4e15b3b5..4ae4faba 100644 --- a/man/tip/nng_inproc.7.html +++ b/man/tip/nng_inproc.7.html @@ -595,7 +595,7 @@ the actual structure is of type <div class="sect1"> <h2 id="_see_also">SEE ALSO</h2> <div class="sectionbody"> -<div class="paragraph"> +<div class="paragraph text-left"> <p><a href="nng_inproc_register.3.html">nng_inproc_register(3)</a>, <a href="nng_sockaddr_inproc.5.html">nng_sockaddr_inproc(5)</a>, <a href="nng.7.html">nng(7)</a></p> diff --git a/man/tip/nng_inproc_register.3.html b/man/tip/nng_inproc_register.3.html index c55f4183..9cb94481 100644 --- a/man/tip/nng_inproc_register.3.html +++ b/man/tip/nng_inproc_register.3.html @@ -552,24 +552,32 @@ body.book #toc,body.book #preamble,body.book h1.sect0,body.book .sect1>h2{page-b <div class="sect1"> <h2 id="_errors">ERRORS</h2> <div class="sectionbody"> -<div class="dlist"> -<dl> -<dt class="hdlist1"><code>NNG_ENOMEM</code></dt> -<dd> +<div class="hdlist"> +<table> +<tr> +<td class="hdlist1"> +<code>NNG_ENOMEM</code> +</td> +<td class="hdlist2"> <p>Insufficient memory is available.</p> -</dd> -<dt class="hdlist1"><code>NNG_ENOTSUP</code></dt> -<dd> +</td> +</tr> +<tr> +<td class="hdlist1"> +<code>NNG_ENOTSUP</code> +</td> +<td class="hdlist2"> <p>The transport is not supported.</p> -</dd> -</dl> +</td> +</tr> +</table> </div> </div> </div> <div class="sect1"> <h2 id="_see_also">SEE ALSO</h2> <div class="sectionbody"> -<div class="paragraph"> +<div class="paragraph text-left"> <p><a href="nng_inproc.7.html">nng_inproc(5)</a>, <a href="nng.7.html">nng(7)</a></p> </div> diff --git a/man/tip/nng_iov.5.html b/man/tip/nng_iov.5.html index 498dfb67..a3f831f1 100644 --- a/man/tip/nng_iov.5.html +++ b/man/tip/nng_iov.5.html @@ -570,7 +570,7 @@ referenced by this scatter/gather element.</p> <div class="sect1"> <h2 id="_see_also">SEE ALSO</h2> <div class="sectionbody"> -<div class="paragraph"> +<div class="paragraph text-left"> <p><a href="nng_aio_set_iov.3.html">nng_aio_set_iov(3)</a>, <a href="nng_aio.5.html">nng_aio(5)</a>, <a href="nng.7.html">nng(7)</a></p> diff --git a/man/tip/nng_ipc.7.html b/man/tip/nng_ipc.7.html index 11f3e55f..fe582579 100644 --- a/man/tip/nng_ipc.7.html +++ b/man/tip/nng_ipc.7.html @@ -683,7 +683,7 @@ The best practice for limiting access is to place the socket in a directory writable only by the server, and only readable and searchable by clients. All mainstream POSIX systems will fail to permit a client to connect -to a socket located in a diretor for which the client lacks search (execute) +to a socket located in a directory for which the client lacks search (execute) permission. </td> </tr> @@ -773,7 +773,7 @@ Zones (and this option) are only supported on Solaris and illumos systems.</p> <div class="sect1"> <h2 id="_see_also">SEE ALSO</h2> <div class="sectionbody"> -<div class="paragraph"> +<div class="paragraph text-left"> <p><a href="nng_sockaddr.5.html">nng_sockaddr(5)</a>, <a href="nng.7.html">nng(7)</a></p> </div> diff --git a/man/tip/nng_ipc_register.3.html b/man/tip/nng_ipc_register.3.html index aa0346e2..2caa153d 100644 --- a/man/tip/nng_ipc_register.3.html +++ b/man/tip/nng_ipc_register.3.html @@ -552,24 +552,32 @@ body.book #toc,body.book #preamble,body.book h1.sect0,body.book .sect1>h2{page-b <div class="sect1"> <h2 id="_errors">ERRORS</h2> <div class="sectionbody"> -<div class="dlist"> -<dl> -<dt class="hdlist1"><code>NNG_ENOMEM</code></dt> -<dd> +<div class="hdlist"> +<table> +<tr> +<td class="hdlist1"> +<code>NNG_ENOMEM</code> +</td> +<td class="hdlist2"> <p>Insufficient memory is available.</p> -</dd> -<dt class="hdlist1"><code>NNG_ENOTSUP</code></dt> -<dd> +</td> +</tr> +<tr> +<td class="hdlist1"> +<code>NNG_ENOTSUP</code> +</td> +<td class="hdlist2"> <p>The transport is not supported.</p> -</dd> -</dl> +</td> +</tr> +</table> </div> </div> </div> <div class="sect1"> <h2 id="_see_also">SEE ALSO</h2> <div class="sectionbody"> -<div class="paragraph"> +<div class="paragraph text-left"> <p><a href="nng_ipc.7.html">nng_ipc(5)</a>, <a href="nng.7.html">nng(7)</a></p> </div> diff --git a/man/tip/nng_listen.3.html b/man/tip/nng_listen.3.html index c05cf312..b377b2f8 100644 --- a/man/tip/nng_listen.3.html +++ b/man/tip/nng_listen.3.html @@ -611,36 +611,56 @@ their pipes with the socket, until either it or the socket <em>s</em> is closed. <div class="sect1"> <h2 id="_errors">ERRORS</h2> <div class="sectionbody"> -<div class="dlist"> -<dl> -<dt class="hdlist1"><code>NNG_EADDRINUSE</code></dt> -<dd> +<div class="hdlist"> +<table> +<tr> +<td class="hdlist1"> +<code>NNG_EADDRINUSE</code> +</td> +<td class="hdlist2"> <p>The address specified by <em>url</em> is already in use.</p> -</dd> -<dt class="hdlist1"><code>NNG_EADDRINVAL</code></dt> -<dd> +</td> +</tr> +<tr> +<td class="hdlist1"> +<code>NNG_EADDRINVAL</code> +</td> +<td class="hdlist2"> <p>An invalid <em>url</em> was specified.</p> -</dd> -<dt class="hdlist1"><code>NNG_ECLOSED</code></dt> -<dd> +</td> +</tr> +<tr> +<td class="hdlist1"> +<code>NNG_ECLOSED</code> +</td> +<td class="hdlist2"> <p>The socket <em>s</em> is not open.</p> -</dd> -<dt class="hdlist1"><code>NNG_EINVAL</code></dt> -<dd> +</td> +</tr> +<tr> +<td class="hdlist1"> +<code>NNG_EINVAL</code> +</td> +<td class="hdlist2"> <p>An invalid set of <em>flags</em> was specified.</p> -</dd> -<dt class="hdlist1"><code>NNG_ENOMEM</code></dt> -<dd> +</td> +</tr> +<tr> +<td class="hdlist1"> +<code>NNG_ENOMEM</code> +</td> +<td class="hdlist2"> <p>Insufficient memory is available.</p> -</dd> -</dl> +</td> +</tr> +</table> </div> </div> </div> <div class="sect1"> <h2 id="_see_also">SEE ALSO</h2> <div class="sectionbody"> -<div class="paragraph"> +<div class="paragraph text-left"> <p><a href="nng_dial.3.html">nng_dial(3)</a>, <a href="nng_listener_close.3.html">nng_listener_close(3)</a>, <a href="nng_listener_create.3.html">nng_listener_create(3)</a> diff --git a/man/tip/nng_listener.5.html b/man/tip/nng_listener.5.html index 106837df..8d2f3b8d 100644 --- a/man/tip/nng_listener.5.html +++ b/man/tip/nng_listener.5.html @@ -613,7 +613,7 @@ before it is opened, to prevent confusion with valid open listener.</p> <div class="sect1"> <h2 id="_see_also">SEE ALSO</h2> <div class="sectionbody"> -<div class="paragraph"> +<div class="paragraph text-left"> <p><a href="nng_listen.3.html">nng_listen(3)</a>, <a href="nng_listener_close.3.html">nng_listener_close(3)</a>, <a href="nng_listener_create.3.html">nng_listener_create(3)</a>, diff --git a/man/tip/nng_listener_close.3.html b/man/tip/nng_listener_close.3.html index 14a740c3..42452b8b 100644 --- a/man/tip/nng_listener_close.3.html +++ b/man/tip/nng_listener_close.3.html @@ -563,20 +563,24 @@ is closed.</p> <div class="sect1"> <h2 id="_errors">ERRORS</h2> <div class="sectionbody"> -<div class="dlist"> -<dl> -<dt class="hdlist1"><code>NNG_ECLOSED</code></dt> -<dd> +<div class="hdlist"> +<table> +<tr> +<td class="hdlist1"> +<code>NNG_ECLOSED</code> +</td> +<td class="hdlist2"> <p>Parameter <em>l</em> does not refer to an open listener.</p> -</dd> -</dl> +</td> +</tr> +</table> </div> </div> </div> <div class="sect1"> <h2 id="_see_also">SEE ALSO</h2> <div class="sectionbody"> -<div class="paragraph"> +<div class="paragraph text-left"> <p><a href="nng_close.3.html">nng_close(3)</a>, <a href="nng_listen.3.html">nng_listen(3)</a>, <a href="nng_listener_create.3.html">nng_listener_create(3)</a> diff --git a/man/tip/nng_listener_create.3.html b/man/tip/nng_listener_create.3.html index f69da444..9d0ff4cb 100644 --- a/man/tip/nng_listener_create.3.html +++ b/man/tip/nng_listener_create.3.html @@ -600,28 +600,40 @@ simpler <code><a href="nng_listen.3.html">nng_listen()</a></code> function inste <div class="sect1"> <h2 id="_errors">ERRORS</h2> <div class="sectionbody"> -<div class="dlist"> -<dl> -<dt class="hdlist1"><code>NNG_EADDRINVAL</code></dt> -<dd> +<div class="hdlist"> +<table> +<tr> +<td class="hdlist1"> +<code>NNG_EADDRINVAL</code> +</td> +<td class="hdlist2"> <p>An invalid <em>url</em> was specified.</p> -</dd> -<dt class="hdlist1"><code>NNG_ECLOSED</code></dt> -<dd> +</td> +</tr> +<tr> +<td class="hdlist1"> +<code>NNG_ECLOSED</code> +</td> +<td class="hdlist2"> <p>The socket <em>s</em> is not open.</p> -</dd> -<dt class="hdlist1"><code>NNG_ENOMEM</code></dt> -<dd> +</td> +</tr> +<tr> +<td class="hdlist1"> +<code>NNG_ENOMEM</code> +</td> +<td class="hdlist2"> <p>Insufficient memory is available.</p> -</dd> -</dl> +</td> +</tr> +</table> </div> </div> </div> <div class="sect1"> <h2 id="_see_also">SEE ALSO</h2> <div class="sectionbody"> -<div class="paragraph"> +<div class="paragraph text-left"> <p><a href="nng_dialer_create.3.html">nng_dialer_create(3)</a> <a href="nng_listen.3.html">nng_listen(3)</a>, <a href="nng_listener_close.3.html">nng_listener_close(3)</a>, diff --git a/man/tip/nng_listener_getopt.3.html b/man/tip/nng_listener_getopt.3.html index af401fdc..790de10c 100644 --- a/man/tip/nng_listener_getopt.3.html +++ b/man/tip/nng_listener_getopt.3.html @@ -600,7 +600,7 @@ by <em>valszp</em>.</p> <div class="paragraph"> <p>When the function returns, the actual size of the data copied (or that would have been copied if sufficient space were present) is stored at -the location referened by <em>valszp</em>. +the location referenced by <em>valszp</em>. If the caller’s buffer is not large enough to hold the entire object, then the copy is truncated. Therefore the caller should validate that the returned size in <em>valszp</em> does not @@ -615,7 +615,7 @@ the object.</p> <div class="sect3"> <h4 id="_code_nng_listener_getopt_bool_code"><code>nng_listener_getopt_bool()</code></h4> <div class="paragraph"> -<p>This function is for options which take a boolean (<code>bool</code>). +<p>This function is for options which take a Boolean (<code>bool</code>). The value will be stored at <em>bvalp</em>.</p> </div> </div> @@ -688,40 +688,64 @@ numbers, and similar.</p> <div class="sect1"> <h2 id="_errors">ERRORS</h2> <div class="sectionbody"> -<div class="dlist"> -<dl> -<dt class="hdlist1"><code>NNG_EBADTYPE</code></dt> -<dd> +<div class="hdlist"> +<table> +<tr> +<td class="hdlist1"> +<code>NNG_EBADTYPE</code> +</td> +<td class="hdlist2"> <p>Incorrect type for option.</p> -</dd> -<dt class="hdlist1"><code>NNG_ECLOSED</code></dt> -<dd> +</td> +</tr> +<tr> +<td class="hdlist1"> +<code>NNG_ECLOSED</code> +</td> +<td class="hdlist2"> <p>Parameter <em>l</em> does not refer to an open listener.</p> -</dd> -<dt class="hdlist1"><code>NNG_EINVAL</code></dt> -<dd> +</td> +</tr> +<tr> +<td class="hdlist1"> +<code>NNG_EINVAL</code> +</td> +<td class="hdlist2"> <p>Size of destination <em>val</em> too small for object.</p> -</dd> -<dt class="hdlist1"><code>NNG_ENOMEM</code></dt> -<dd> +</td> +</tr> +<tr> +<td class="hdlist1"> +<code>NNG_ENOMEM</code> +</td> +<td class="hdlist2"> <p>Insufficient memory exists.</p> -</dd> -<dt class="hdlist1"><code>NNG_ENOTSUP</code></dt> -<dd> +</td> +</tr> +<tr> +<td class="hdlist1"> +<code>NNG_ENOTSUP</code> +</td> +<td class="hdlist2"> <p>The option <em>opt</em> is not supported.</p> -</dd> -<dt class="hdlist1"><code>NNG_EWRITEONLY</code></dt> -<dd> +</td> +</tr> +<tr> +<td class="hdlist1"> +<code>NNG_EWRITEONLY</code> +</td> +<td class="hdlist2"> <p>The option <em>opt</em> is write-only.</p> -</dd> -</dl> +</td> +</tr> +</table> </div> </div> </div> <div class="sect1"> <h2 id="_see_also">SEE ALSO</h2> <div class="sectionbody"> -<div class="paragraph"> +<div class="paragraph text-left"> <p><a href="nng_listen.3.html">nng_listen(3)</a>, <a href="nng_listener_create.3.html">nng_listener_create(3)</a> <a href="nng_listener_setopt.3.html">nng_listener_setopt(3)</a> diff --git a/man/tip/nng_listener_id.3.html b/man/tip/nng_listener_id.3.html index 7141d14c..be2dfffc 100644 --- a/man/tip/nng_listener_id.3.html +++ b/man/tip/nng_listener_id.3.html @@ -580,7 +580,7 @@ they cannot be confused with a valid listener before they are created properly. <div class="sect1"> <h2 id="_see_also">SEE ALSO</h2> <div class="sectionbody"> -<div class="paragraph"> +<div class="paragraph text-left"> <p><a href="nng_listener.5.html">nng_listener(5)</a>, <a href="nng.7.html">nng(7)</a></p> </div> diff --git a/man/tip/nng_listener_setopt.3.html b/man/tip/nng_listener_setopt.3.html index b3338089..8ad13282 100644 --- a/man/tip/nng_listener_setopt.3.html +++ b/man/tip/nng_listener_setopt.3.html @@ -608,7 +608,7 @@ size of the objected located at <em>val</em>.</p> <div class="sect3"> <h4 id="_code_nng_listener_setopt_bool_code"><code>nng_listener_setopt_bool()</code></h4> <div class="paragraph"> -<p>This function is for options which take a boolean (<code>bool</code>). +<p>This function is for options which take a Boolean (<code>bool</code>). The <em>bval</em> is passed to the option.</p> </div> </div> @@ -678,40 +678,64 @@ and similar.</p> <div class="sect1"> <h2 id="_errors">ERRORS</h2> <div class="sectionbody"> -<div class="dlist"> -<dl> -<dt class="hdlist1"><code>NNG_EBADTYPE</code></dt> -<dd> +<div class="hdlist"> +<table> +<tr> +<td class="hdlist1"> +<code>NNG_EBADTYPE</code> +</td> +<td class="hdlist2"> <p>Incorrect type for option.</p> -</dd> -<dt class="hdlist1"><code>NNG_ECLOSED</code></dt> -<dd> +</td> +</tr> +<tr> +<td class="hdlist1"> +<code>NNG_ECLOSED</code> +</td> +<td class="hdlist2"> <p>Parameter <em>l</em> does not refer to an open listener.</p> -</dd> -<dt class="hdlist1"><code>NNG_EINVAL</code></dt> -<dd> +</td> +</tr> +<tr> +<td class="hdlist1"> +<code>NNG_EINVAL</code> +</td> +<td class="hdlist2"> <p>The value being passed is invalid.</p> -</dd> -<dt class="hdlist1"><code>NNG_ENOTSUP</code></dt> -<dd> +</td> +</tr> +<tr> +<td class="hdlist1"> +<code>NNG_ENOTSUP</code> +</td> +<td class="hdlist2"> <p>The option <em>opt</em> is not supported.</p> -</dd> -<dt class="hdlist1"><code>NNG_EREADONLY</code></dt> -<dd> +</td> +</tr> +<tr> +<td class="hdlist1"> +<code>NNG_EREADONLY</code> +</td> +<td class="hdlist2"> <p>The option <em>opt</em> is read-only.</p> -</dd> -<dt class="hdlist1"><code>NNG_ESTATE</code></dt> -<dd> +</td> +</tr> +<tr> +<td class="hdlist1"> +<code>NNG_ESTATE</code> +</td> +<td class="hdlist2"> <p>The listener <em>l</em> is already started.</p> -</dd> -</dl> +</td> +</tr> +</table> </div> </div> </div> <div class="sect1"> <h2 id="_see_also">SEE ALSO</h2> <div class="sectionbody"> -<div class="paragraph"> +<div class="paragraph text-left"> <p><a href="nng_listen.3.html">nng_listen(3)</a>, <a href="nng_listener_create.3.html">nng_listener_create(3)</a> <a href="nng_listener_getopt.3.html">nng_listener_getopt(3)</a> diff --git a/man/tip/nng_listener_start.3.html b/man/tip/nng_listener_start.3.html index 7e2b5ae0..37d8b8d5 100644 --- a/man/tip/nng_listener_start.3.html +++ b/man/tip/nng_listener_start.3.html @@ -585,24 +585,32 @@ it’s configuration.</p> <div class="sect1"> <h2 id="_errors">ERRORS</h2> <div class="sectionbody"> -<div class="dlist"> -<dl> -<dt class="hdlist1"><code>NNG_ECLOSED</code></dt> -<dd> +<div class="hdlist"> +<table> +<tr> +<td class="hdlist1"> +<code>NNG_ECLOSED</code> +</td> +<td class="hdlist2"> <p>Parameter <em>l</em> does not refer to an open listener.</p> -</dd> -<dt class="hdlist1"><code>NNG_ESTATE</code></dt> -<dd> +</td> +</tr> +<tr> +<td class="hdlist1"> +<code>NNG_ESTATE</code> +</td> +<td class="hdlist2"> <p>The listener <em>l</em> is already started.</p> -</dd> -</dl> +</td> +</tr> +</table> </div> </div> </div> <div class="sect1"> <h2 id="_see_also">SEE ALSO</h2> <div class="sectionbody"> -<div class="paragraph"> +<div class="paragraph text-left"> <p><a href="nng_listen.3.html">nng_listen(3)</a>, <a href="nng_listener_create.3.html">nng_listener_create(3)</a> <a href="nng_listener.5.html">nng_listener(5)</a>, diff --git a/man/tip/nng_msg.5.html b/man/tip/nng_msg.5.html index 8f025a97..067d743d 100644 --- a/man/tip/nng_msg.5.html +++ b/man/tip/nng_msg.5.html @@ -538,7 +538,7 @@ body.book #toc,body.book #preamble,body.book h1.sect0,body.book .sect1>h2{page-b <div class="paragraph"> <p>An <code>nng_msg</code> represents a single message sent between Scalability Protocols peers. -Messages internally have a body, containining the application supplied +Messages internally have a body, containing the application supplied payload, and a header, containing protocol specific routing and similar related information.</p> </div> @@ -581,20 +581,24 @@ by making use of scratch areas at the beginning and end of the message.</p> <div class="sect1"> <h2 id="_errors">ERRORS</h2> <div class="sectionbody"> -<div class="dlist"> -<dl> -<dt class="hdlist1"><code>NNG_ENOMEM</code></dt> -<dd> +<div class="hdlist"> +<table> +<tr> +<td class="hdlist1"> +<code>NNG_ENOMEM</code> +</td> +<td class="hdlist2"> <p>Insufficient free memory exists to allocate a message.</p> -</dd> -</dl> +</td> +</tr> +</table> </div> </div> </div> <div class="sect1"> <h2 id="_see_also">SEE ALSO</h2> <div class="sectionbody"> -<div class="paragraph"> +<div class="paragraph text-left"> <p><a href="nng_aio_get_msg.3.html">nng_aio_get_msg(3)</a>, <a href="nng_aio_set_msg.3.html">nng_aio_set_msg(3)</a>, <a href="nng_msg_alloc.3.html">nng_msg_alloc(3)</a>, diff --git a/man/tip/nng_msg_alloc.3.html b/man/tip/nng_msg_alloc.3.html index e4964516..57375391 100644 --- a/man/tip/nng_msg_alloc.3.html +++ b/man/tip/nng_msg_alloc.3.html @@ -554,20 +554,24 @@ They are used with receive and transmit functions.</p> <div class="sect1"> <h2 id="_errors">ERRORS</h2> <div class="sectionbody"> -<div class="dlist"> -<dl> -<dt class="hdlist1"><code>NNG_ENOMEM</code></dt> -<dd> +<div class="hdlist"> +<table> +<tr> +<td class="hdlist1"> +<code>NNG_ENOMEM</code> +</td> +<td class="hdlist2"> <p>Insufficient free memory exists to allocate a message.</p> -</dd> -</dl> +</td> +</tr> +</table> </div> </div> </div> <div class="sect1"> <h2 id="_see_also">SEE ALSO</h2> <div class="sectionbody"> -<div class="paragraph"> +<div class="paragraph text-left"> <p><a href="nng_msg_free.3.html">nng_msg_free(3)</a>, <a href="nng_msg_body.3.html">nng_msg_body(3)</a>, <a href="nng_msg_dup.3.html">nng_msg_dup(3)</a>, diff --git a/man/tip/nng_msg_append.3.html b/man/tip/nng_msg_append.3.html index f4a977db..cdd5e9f9 100644 --- a/man/tip/nng_msg_append.3.html +++ b/man/tip/nng_msg_append.3.html @@ -556,20 +556,24 @@ second function appends the value <em>val32</em> in network-byte order (big-endi <div class="sect1"> <h2 id="_errors">ERRORS</h2> <div class="sectionbody"> -<div class="dlist"> -<dl> -<dt class="hdlist1"><code>NNG_ENOMEM</code></dt> -<dd> +<div class="hdlist"> +<table> +<tr> +<td class="hdlist1"> +<code>NNG_ENOMEM</code> +</td> +<td class="hdlist2"> <p>Insufficient free memory exists.</p> -</dd> -</dl> +</td> +</tr> +</table> </div> </div> </div> <div class="sect1"> <h2 id="_see_also">SEE ALSO</h2> <div class="sectionbody"> -<div class="paragraph"> +<div class="paragraph text-left"> <p><a href="nng_msg_alloc.3.html">nng_msg_alloc(3)</a>, <a href="nng_msg_body.3.html">nng_msg_body(3)</a>, <a href="nng_msg_chop.3.html">nng_msg_chop(3)</a>, diff --git a/man/tip/nng_msg_body.3.html b/man/tip/nng_msg_body.3.html index 0b6c9b69..c7e4382b 100644 --- a/man/tip/nng_msg_body.3.html +++ b/man/tip/nng_msg_body.3.html @@ -580,7 +580,7 @@ or <code><a href="nng_msg_insert.3.html">nng_msg_insert()</a></code> variants. <div class="sect1"> <h2 id="_see_also">SEE ALSO</h2> <div class="sectionbody"> -<div class="paragraph"> +<div class="paragraph text-left"> <p><a href="nng_msg_alloc.3.html">nng_msg_alloc(3)</a>, <a href="nng_msg_append.3.html">nng_msg_append(3)</a>, <a href="nng_msg_chop.3.html">nng_msg_chop(3)</a>, diff --git a/man/tip/nng_msg_chop.3.html b/man/tip/nng_msg_chop.3.html index 75161ccb..43f31430 100644 --- a/man/tip/nng_msg_chop.3.html +++ b/man/tip/nng_msg_chop.3.html @@ -557,20 +557,24 @@ after converting them from network-byte order (big-endian) to native byte order. <div class="sect1"> <h2 id="_errors">ERRORS</h2> <div class="sectionbody"> -<div class="dlist"> -<dl> -<dt class="hdlist1"><code>NNG_EINVAL</code></dt> -<dd> +<div class="hdlist"> +<table> +<tr> +<td class="hdlist1"> +<code>NNG_EINVAL</code> +</td> +<td class="hdlist2"> <p>The message body is too short to remove the requested data.</p> -</dd> -</dl> +</td> +</tr> +</table> </div> </div> </div> <div class="sect1"> <h2 id="_see_also">SEE ALSO</h2> <div class="sectionbody"> -<div class="paragraph"> +<div class="paragraph text-left"> <p><a href="nng_msg_alloc.3.html">nng_msg_alloc(3)</a>, <a href="nng_msg_append.3.html">nng_msg_append(3)</a>, <a href="nng_msg_body.3.html">nng_msg_body(3)</a>, diff --git a/man/tip/nng_msg_clear.3.html b/man/tip/nng_msg_clear.3.html index f3775957..e769442c 100644 --- a/man/tip/nng_msg_clear.3.html +++ b/man/tip/nng_msg_clear.3.html @@ -559,7 +559,7 @@ body.book #toc,body.book #preamble,body.book h1.sect0,body.book .sect1>h2{page-b <div class="sect1"> <h2 id="_see_also">SEE ALSO</h2> <div class="sectionbody"> -<div class="paragraph"> +<div class="paragraph text-left"> <p><a href="nng_msg.5.html">nng_msg(5)</a>, <a href="nng.7.html">nng(7)</a></p> </div> diff --git a/man/tip/nng_msg_dup.3.html b/man/tip/nng_msg_dup.3.html index 7b3d3de1..4feafb82 100644 --- a/man/tip/nng_msg_dup.3.html +++ b/man/tip/nng_msg_dup.3.html @@ -555,20 +555,24 @@ different amount of unused space than the original message.</p> <div class="sect1"> <h2 id="_errors">ERRORS</h2> <div class="sectionbody"> -<div class="dlist"> -<dl> -<dt class="hdlist1"><code>NNG_ENOMEM</code></dt> -<dd> +<div class="hdlist"> +<table> +<tr> +<td class="hdlist1"> +<code>NNG_ENOMEM</code> +</td> +<td class="hdlist2"> <p>Insufficient free memory exists to duplicate a message.</p> -</dd> -</dl> +</td> +</tr> +</table> </div> </div> </div> <div class="sect1"> <h2 id="_see_also">SEE ALSO</h2> <div class="sectionbody"> -<div class="paragraph"> +<div class="paragraph text-left"> <p><a href="nng_msg_alloc.3.html">nng_msg_alloc(3)</a>, <a href="nng_msg_free.3.html">nng_msg_free(3)</a>, <a href="nng_strerror.3.html">nng_strerror(3)</a>, diff --git a/man/tip/nng_msg_free.3.html b/man/tip/nng_msg_free.3.html index 8eef5180..fa7af321 100644 --- a/man/tip/nng_msg_free.3.html +++ b/man/tip/nng_msg_free.3.html @@ -559,7 +559,7 @@ body.book #toc,body.book #preamble,body.book h1.sect0,body.book .sect1>h2{page-b <div class="sect1"> <h2 id="_see_also">SEE ALSO</h2> <div class="sectionbody"> -<div class="paragraph"> +<div class="paragraph text-left"> <p><a href="nng_msg_alloc.3.html">nng_msg_alloc(3)</a>, <a href="nng_msg_realloc.3.html">nng_msg_realloc(3)</a>, <a href="nng_msg.5.html">nng_msg(5)</a>, diff --git a/man/tip/nng_msg_get_pipe.3.html b/man/tip/nng_msg_get_pipe.3.html index a53d75d6..4f844ace 100644 --- a/man/tip/nng_msg_get_pipe.3.html +++ b/man/tip/nng_msg_get_pipe.3.html @@ -571,7 +571,7 @@ is useful in this situation.</p> <p>This function returns the pipe associated with this message, which will be a positive value. If the pipe is non-positive, then that indicates that -no specific pipe is associated with the messsage.</p> +no specific pipe is associated with the message.</p> </div> </div> </div> @@ -586,7 +586,7 @@ no specific pipe is associated with the messsage.</p> <div class="sect1"> <h2 id="_see_also">SEE ALSO</h2> <div class="sectionbody"> -<div class="paragraph"> +<div class="paragraph text-left"> <p><a href="nng_msg_alloc.3.html">nng_msg_alloc(3)</a>, <a href="nng_msg_set_pipe.3.html">nng_msg_set_pipe(3)</a>, <a href="nng_pipe_getopt.3.html">nng_pipe_getopt(3)</a>, diff --git a/man/tip/nng_msg_header.3.html b/man/tip/nng_msg_header.3.html index 9d27879a..36c2a5b6 100644 --- a/man/tip/nng_msg_header.3.html +++ b/man/tip/nng_msg_header.3.html @@ -588,7 +588,7 @@ functions that modify the message or the header content. <div class="sect1"> <h2 id="_see_also">SEE ALSO</h2> <div class="sectionbody"> -<div class="paragraph"> +<div class="paragraph text-left"> <p><a href="nng_msg_alloc.3.html">nng_msg_alloc(3)</a>, <a href="nng_msg_body.3.html">nng_msg_body(3)</a>, <a href="nng_msg_free.3.html">nng_msg_free(3)</a>, diff --git a/man/tip/nng_msg_header_append.3.html b/man/tip/nng_msg_header_append.3.html index a25f4726..e46ce42e 100644 --- a/man/tip/nng_msg_header_append.3.html +++ b/man/tip/nng_msg_header_append.3.html @@ -558,20 +558,24 @@ The second function appends the value <em>val32</em> in network-byte order <div class="sect1"> <h2 id="_errors">ERRORS</h2> <div class="sectionbody"> -<div class="dlist"> -<dl> -<dt class="hdlist1"><code>NNG_ENOMEM</code></dt> -<dd> +<div class="hdlist"> +<table> +<tr> +<td class="hdlist1"> +<code>NNG_ENOMEM</code> +</td> +<td class="hdlist2"> <p>Insufficient free memory exists.</p> -</dd> -</dl> +</td> +</tr> +</table> </div> </div> </div> <div class="sect1"> <h2 id="_see_also">SEE ALSO</h2> <div class="sectionbody"> -<div class="paragraph"> +<div class="paragraph text-left"> <p><a href="nng_msg_alloc.3.html">nng_msg_alloc(3)</a>, <a href="nng_msg_header.3.html">nng_msg_header(3)</a>, <a href="nng_msg_header_chop.3.html">nng_msg_header_chop(3)</a>, diff --git a/man/tip/nng_msg_header_chop.3.html b/man/tip/nng_msg_header_chop.3.html index a5e7aeda..0e8df6aa 100644 --- a/man/tip/nng_msg_header_chop.3.html +++ b/man/tip/nng_msg_header_chop.3.html @@ -558,20 +558,24 @@ byte order.</p> <div class="sect1"> <h2 id="_errors">ERRORS</h2> <div class="sectionbody"> -<div class="dlist"> -<dl> -<dt class="hdlist1"><code>NNG_EINVAL</code></dt> -<dd> +<div class="hdlist"> +<table> +<tr> +<td class="hdlist1"> +<code>NNG_EINVAL</code> +</td> +<td class="hdlist2"> <p>The message header is too short to remove the requested data.</p> -</dd> -</dl> +</td> +</tr> +</table> </div> </div> </div> <div class="sect1"> <h2 id="_see_also">SEE ALSO</h2> <div class="sectionbody"> -<div class="paragraph"> +<div class="paragraph text-left"> <p><a href="nng_msg_alloc.3.html">nng_msg_alloc(3)</a>, <a href="nng_msg_header.3.html">nng_msg_header(3)</a>, <a href="nng_msg_header_append.3.html">nng_msg_header_append(3)</a>, diff --git a/man/tip/nng_msg_header_clear.3.html b/man/tip/nng_msg_header_clear.3.html index 9b33c856..4d259340 100644 --- a/man/tip/nng_msg_header_clear.3.html +++ b/man/tip/nng_msg_header_clear.3.html @@ -559,7 +559,7 @@ body.book #toc,body.book #preamble,body.book h1.sect0,body.book .sect1>h2{page-b <div class="sect1"> <h2 id="_see_also">SEE ALSO</h2> <div class="sectionbody"> -<div class="paragraph"> +<div class="paragraph text-left"> <p><a href="nng_msg_alloc.3.html">nng_msg_alloc(3)</a>, <a href="nng_msg_free.3.html">nng_msg_free(3)</a>, <a href="nng.7.html">nng(7)</a></p> diff --git a/man/tip/nng_msg_header_insert.3.html b/man/tip/nng_msg_header_insert.3.html index af9436c5..41348dcc 100644 --- a/man/tip/nng_msg_header_insert.3.html +++ b/man/tip/nng_msg_header_insert.3.html @@ -557,20 +557,24 @@ second function prepends the value <em>val32</em> in network-byte order (big-end <div class="sect1"> <h2 id="_errors">ERRORS</h2> <div class="sectionbody"> -<div class="dlist"> -<dl> -<dt class="hdlist1"><code>NNG_ENOMEM</code></dt> -<dd> +<div class="hdlist"> +<table> +<tr> +<td class="hdlist1"> +<code>NNG_ENOMEM</code> +</td> +<td class="hdlist2"> <p>Insufficient free memory exists.</p> -</dd> -</dl> +</td> +</tr> +</table> </div> </div> </div> <div class="sect1"> <h2 id="_see_also">SEE ALSO</h2> <div class="sectionbody"> -<div class="paragraph"> +<div class="paragraph text-left"> <p><a href="nng_msg_alloc.3.html">nng_msg_alloc(3)</a>, <a href="nng_msg_header.3.html">nng_msg_header(3)</a>, <a href="nng_msg_header_append.3.html">nng_msg_header_append(3)</a>, diff --git a/man/tip/nng_msg_header_len.3.html b/man/tip/nng_msg_header_len.3.html index 37af777d..a352d0ba 100644 --- a/man/tip/nng_msg_header_len.3.html +++ b/man/tip/nng_msg_header_len.3.html @@ -559,7 +559,7 @@ body.book #toc,body.book #preamble,body.book h1.sect0,body.book .sect1>h2{page-b <div class="sect1"> <h2 id="_see_also">SEE ALSO</h2> <div class="sectionbody"> -<div class="paragraph"> +<div class="paragraph text-left"> <p><a href="nng_msg_alloc.3.html">nng_msg_alloc(3)</a>, <a href="nng_msg_header.3.html">nng_msg_header(3)</a>, <a href="nng_msg.5.html">nng_msg(5)</a>, diff --git a/man/tip/nng_msg_header_trim.3.html b/man/tip/nng_msg_header_trim.3.html index ac1778a0..207dadc0 100644 --- a/man/tip/nng_msg_header_trim.3.html +++ b/man/tip/nng_msg_header_trim.3.html @@ -558,20 +558,24 @@ byte order.</p> <div class="sect1"> <h2 id="_errors">ERRORS</h2> <div class="sectionbody"> -<div class="dlist"> -<dl> -<dt class="hdlist1"><code>NNG_EINVAL</code></dt> -<dd> +<div class="hdlist"> +<table> +<tr> +<td class="hdlist1"> +<code>NNG_EINVAL</code> +</td> +<td class="hdlist2"> <p>The message header is too short to remove the requested data.</p> -</dd> -</dl> +</td> +</tr> +</table> </div> </div> </div> <div class="sect1"> <h2 id="_see_also">SEE ALSO</h2> <div class="sectionbody"> -<div class="paragraph"> +<div class="paragraph text-left"> <p><a href="nng_msg_alloc.3.html">nng_msg_alloc(3)</a>, <a href="nng_msg_header.3.html">nng_msg_header(3)</a>, <a href="nng_msg_header_append.3.html">nng_msg_header_append(3)</a>, diff --git a/man/tip/nng_msg_insert.3.html b/man/tip/nng_msg_insert.3.html index d291a2cb..a18e1181 100644 --- a/man/tip/nng_msg_insert.3.html +++ b/man/tip/nng_msg_insert.3.html @@ -554,7 +554,7 @@ The second function prepends the value <em>val32</em> in network-byte order This function makes use of pre-allocated “headroom” in the message if available, so it can often avoid performing any reallocation. Applications should use this instead of reallocating and copying message -content themselves, in order to benefit from this capabilitiy. +content themselves, in order to benefit from this capability. </td> </tr> </table> @@ -572,20 +572,24 @@ content themselves, in order to benefit from this capabilitiy. <div class="sect1"> <h2 id="_errors">ERRORS</h2> <div class="sectionbody"> -<div class="dlist"> -<dl> -<dt class="hdlist1"><code>NNG_ENOMEM</code></dt> -<dd> +<div class="hdlist"> +<table> +<tr> +<td class="hdlist1"> +<code>NNG_ENOMEM</code> +</td> +<td class="hdlist2"> <p>Insufficient free memory exists.</p> -</dd> -</dl> +</td> +</tr> +</table> </div> </div> </div> <div class="sect1"> <h2 id="_see_also">SEE ALSO</h2> <div class="sectionbody"> -<div class="paragraph"> +<div class="paragraph text-left"> <p><a href="nng_msg_alloc.3.html">nng_msg_alloc(3)</a>, <a href="nng_msg_append.3.html">nng_msg_append(3)</a>, <a href="nng_msg_body.3.html">nng_msg_body(3)</a>, diff --git a/man/tip/nng_msg_len.3.html b/man/tip/nng_msg_len.3.html index a9bc4fb8..17a5a43f 100644 --- a/man/tip/nng_msg_len.3.html +++ b/man/tip/nng_msg_len.3.html @@ -559,7 +559,7 @@ body.book #toc,body.book #preamble,body.book h1.sect0,body.book .sect1>h2{page-b <div class="sect1"> <h2 id="_see_also">SEE ALSO</h2> <div class="sectionbody"> -<div class="paragraph"> +<div class="paragraph text-left"> <p><a href="nng_msg_alloc.3.html">nng_msg_alloc(3)</a>, <a href="nng_msg_body.3.html">nng_msg_body(3)</a>, <a href="nng_msg.5.html">nng_msg(5)</a>, diff --git a/man/tip/nng_msg_realloc.3.html b/man/tip/nng_msg_realloc.3.html index 6ca1c048..783cee40 100644 --- a/man/tip/nng_msg_realloc.3.html +++ b/man/tip/nng_msg_realloc.3.html @@ -587,20 +587,24 @@ may have changed, particularly if the message size is increasing. <div class="sect1"> <h2 id="_errors">ERRORS</h2> <div class="sectionbody"> -<div class="dlist"> -<dl> -<dt class="hdlist1"><code>NNG_ENOMEM</code></dt> -<dd> +<div class="hdlist"> +<table> +<tr> +<td class="hdlist1"> +<code>NNG_ENOMEM</code> +</td> +<td class="hdlist2"> <p>Insufficient free memory exists to reallocate a message.</p> -</dd> -</dl> +</td> +</tr> +</table> </div> </div> </div> <div class="sect1"> <h2 id="_see_also">SEE ALSO</h2> <div class="sectionbody"> -<div class="paragraph"> +<div class="paragraph text-left"> <p><a href="nng_msg_alloc.3.html">nng_msg_alloc(3)</a>, <a href="nng_msg_append.3.html">nng_msg_append(3)</a>, <a href="nng_msg_body.3.html">nng_msg_body(3)</a>, diff --git a/man/tip/nng_msg_set_pipe.3.html b/man/tip/nng_msg_set_pipe.3.html index c6c677af..c643b3eb 100644 --- a/man/tip/nng_msg_set_pipe.3.html +++ b/man/tip/nng_msg_set_pipe.3.html @@ -575,7 +575,7 @@ Not all protocols support overriding the destination pipe. <div class="sect1"> <h2 id="_see_also">SEE ALSO</h2> <div class="sectionbody"> -<div class="paragraph"> +<div class="paragraph text-left"> <p><a href="nng_msg_alloc.3.html">nng_msg_alloc(3)</a>, <a href="nng_msg_get_pipe.3.html">nng_msg_get_pipe(3)</a>, <a href="nng_pipe_getopt.3.html">nng_pipe_getopt(3)</a>, diff --git a/man/tip/nng_msg_trim.3.html b/man/tip/nng_msg_trim.3.html index 4cdd61ee..3a67da93 100644 --- a/man/tip/nng_msg_trim.3.html +++ b/man/tip/nng_msg_trim.3.html @@ -558,20 +558,24 @@ byte order.</p> <div class="sect1"> <h2 id="_errors">ERRORS</h2> <div class="sectionbody"> -<div class="dlist"> -<dl> -<dt class="hdlist1"><code>NNG_EINVAL</code></dt> -<dd> +<div class="hdlist"> +<table> +<tr> +<td class="hdlist1"> +<code>NNG_EINVAL</code> +</td> +<td class="hdlist2"> <p>The message body is too short to remove the requested data.</p> -</dd> -</dl> +</td> +</tr> +</table> </div> </div> </div> <div class="sect1"> <h2 id="_see_also">SEE ALSO</h2> <div class="sectionbody"> -<div class="paragraph"> +<div class="paragraph text-left"> <p><a href="nng_msg_alloc.3.html">nng_msg_alloc(3)</a>, <a href="nng_msg_append.3.html">nng_msg_append(3)</a>, <a href="nng_msg_body.3.html">nng_msg_body(3)</a>, diff --git a/man/tip/nng_msleep.3supp.html b/man/tip/nng_msleep.3supp.html index 8658c615..7bc6ffbc 100644 --- a/man/tip/nng_msleep.3supp.html +++ b/man/tip/nng_msleep.3supp.html @@ -574,7 +574,7 @@ underlying system. <div class="sect1"> <h2 id="_see_also">SEE ALSO</h2> <div class="sectionbody"> -<div class="paragraph"> +<div class="paragraph text-left"> <p><a href="nng_sleep_aio.3.html">nng_sleep_aio(3)</a>, <a href="nng_strerror.3.html">nng_strerror(3)</a>, <a href="nng_clock.3supp.html">nng_clock(3supp)</a>, diff --git a/man/tip/nng_mtx_alloc.3supp.html b/man/tip/nng_mtx_alloc.3supp.html index 915fdcbf..10f0942a 100644 --- a/man/tip/nng_mtx_alloc.3supp.html +++ b/man/tip/nng_mtx_alloc.3supp.html @@ -566,20 +566,24 @@ where only a single thread of execution is permitted to “own” the se <div class="sect1"> <h2 id="_errors">ERRORS</h2> <div class="sectionbody"> -<div class="dlist"> -<dl> -<dt class="hdlist1"><code>NNG_ENOMEM</code></dt> -<dd> +<div class="hdlist"> +<table> +<tr> +<td class="hdlist1"> +<code>NNG_ENOMEM</code> +</td> +<td class="hdlist2"> <p>Insufficient free memory exists.</p> -</dd> -</dl> +</td> +</tr> +</table> </div> </div> </div> <div class="sect1"> <h2 id="_see_also">SEE ALSO</h2> <div class="sectionbody"> -<div class="paragraph"> +<div class="paragraph text-left"> <p><a href="nng_cv_alloc.3supp.html">nng_cv_alloc(3supp)</a>, <a href="nng_mtx_free.3supp.html">nng_mtx_free(3supp)</a>, <a href="nng_mtx_lock.3supp.html">nng_mtx_lock(3supp)</a>, diff --git a/man/tip/nng_mtx_free.3supp.html b/man/tip/nng_mtx_free.3supp.html index 1e6cda92..ac7c690f 100644 --- a/man/tip/nng_mtx_free.3supp.html +++ b/man/tip/nng_mtx_free.3supp.html @@ -561,7 +561,7 @@ The mutex must not be locked when this function is called.</p> <div class="sect1"> <h2 id="_see_also">SEE ALSO</h2> <div class="sectionbody"> -<div class="paragraph"> +<div class="paragraph text-left"> <p><a href="nng_mtx_alloc.3supp.html">nng_mtx_alloc(3supp)</a>, <a href="nng.7.html">nng(7)</a></p> </div> diff --git a/man/tip/nng_mtx_lock.3supp.html b/man/tip/nng_mtx_lock.3supp.html index 2d176530..8ca07fb3 100644 --- a/man/tip/nng_mtx_lock.3supp.html +++ b/man/tip/nng_mtx_lock.3supp.html @@ -604,7 +604,7 @@ easily from mutexes and condition variables.</p> <div class="sect1"> <h2 id="_see_also">SEE ALSO</h2> <div class="sectionbody"> -<div class="paragraph"> +<div class="paragraph text-left"> <p><a href="nng_cv_alloc.3supp.html">nng_cv_alloc(3supp)</a>, <a href="nng_mtx_alloc.3supp.html">nng_mtx_alloc(3supp)</a>, <a href="nng_mtx_unlock.3supp.html">nng_mtx_unlock(3supp)</a>, diff --git a/man/tip/nng_mtx_unlock.3supp.html b/man/tip/nng_mtx_unlock.3supp.html index 5d931903..5ba975d8 100644 --- a/man/tip/nng_mtx_unlock.3supp.html +++ b/man/tip/nng_mtx_unlock.3supp.html @@ -537,7 +537,7 @@ body.book #toc,body.book #preamble,body.book h1.sect0,body.book .sect1>h2{page-b <h2 id="_description">DESCRIPTION</h2> <div class="sectionbody"> <div class="paragraph"> -<p>The <code>nng_mtx_unlock()</code> reqlinquishes ownership of the mutex <em>mtx</em> that +<p>The <code>nng_mtx_unlock()</code> relinquishes ownership of the mutex <em>mtx</em> that was previously acquired via <code><a href="nng_mtx_lock.3supp.html">nng_mtx_lock()</a></code>.</p> </div> <div class="admonitionblock important"> @@ -575,7 +575,7 @@ in undefined behavior. <div class="sect1"> <h2 id="_see_also">SEE ALSO</h2> <div class="sectionbody"> -<div class="paragraph"> +<div class="paragraph text-left"> <p><a href="nng_mtx_alloc.3supp.html">nng_mtx_alloc(3supp)</a>, <a href="nng_mtx_lock.3supp.html">nng_mtx_lock(3supp)</a>, <a href="nng.7.html">nng(7)</a></p> diff --git a/man/tip/nng_options.5.html b/man/tip/nng_options.5.html index 9cbc4686..08de92f3 100644 --- a/man/tip/nng_options.5.html +++ b/man/tip/nng_options.5.html @@ -549,7 +549,7 @@ body.book #toc,body.book #preamble,body.book h1.sect0,body.book .sect1>h2{page-b <span class="tok-cp">#define NNG_OPT_RECONNMINT "reconnect-time-min"</span> <span class="tok-cp">#define NNG_OPT_RECONNMAXT "reconnect-time-max"</span> <span class="tok-cp">#define NNG_OPT_TCP_NODELAY "tcp-nodelay"</span> -<span class="tok-cp">#define NNG_OPT_TCP_KEEPALIVE "tcp-nodelay"</span></code></pre> +<span class="tok-cp">#define NNG_OPT_TCP_KEEPALIVE "tcp-keepalive"</span></code></pre> </div> </div> </div> @@ -657,7 +657,7 @@ If this is non-zero, then the time between successive connection attempts will start at the value of <code>NNG_OPT_RECONNMINT</code>, and grow exponentially, until it reaches this value. If this value is zero, then no exponential -backoff between connection attempts is done, and each attempt will wait +back-off between connection attempts is done, and each attempt will wait the time specified by <code>NNG_OPT_RECONNMINT</code>. This can be set on a socket, but it can also be overridden on an individual dialer. @@ -707,7 +707,7 @@ be readable.</p> <i class="fa icon-important" title="Important"></i> </td> <td class="content"> -Appplications should never attempt to read or write to the +Applications should never attempt to read or write to the returned file descriptor. </td> </tr> @@ -839,7 +839,7 @@ the descriptor will <strong>not</strong> be readable.</p> <i class="fa icon-important" title="Important"></i> </td> <td class="content"> -Appplications should never attempt to read or write to the +Applications should never attempt to read or write to the returned file descriptor. </td> </tr> @@ -1071,7 +1071,7 @@ middleware from being expiring due to lack of activity. <div class="sect1"> <h2 id="_see_also">SEE ALSO</h2> <div class="sectionbody"> -<div class="paragraph"> +<div class="paragraph text-left"> <p><a href="nng_dialer_getopt.3.html">nng_dialer_getopt(3)</a>, <a href="nng_dialer_setopt.3.html">nng_dialer_setopt(3)</a>, <a href="nng_getopt.3.html">nng_getopt(3)</a>, diff --git a/man/tip/nng_opts_parse.3supp.html b/man/tip/nng_opts_parse.3supp.html index e1ad7861..7b29437c 100644 --- a/man/tip/nng_opts_parse.3supp.html +++ b/man/tip/nng_opts_parse.3supp.html @@ -552,7 +552,7 @@ body.book #toc,body.book #preamble,body.book h1.sect0,body.book .sect1>h2{page-b <h2 id="_description">DESCRIPTION</h2> <div class="sectionbody"> <div class="paragraph"> -<p>The <code>nng_opts_parse()</code> is function is a supplemental funtion intened to +<p>The <code>nng_opts_parse()</code> is function is a supplemental function intended to facilitate parsing command line arguments. This function exists largely to stand in for <code>getopt()</code> from POSIX systems, but it is available everywhere that <em>NNG</em> is, and it includes @@ -740,28 +740,40 @@ no more options are available to be parsed, or an error number otherwise.</p> <div class="sect1"> <h2 id="_errors">ERRORS</h2> <div class="sectionbody"> -<div class="dlist"> -<dl> -<dt class="hdlist1"><code>NNG_EAMBIGUOUS</code></dt> -<dd> +<div class="hdlist"> +<table> +<tr> +<td class="hdlist1"> +<code>NNG_EAMBIGUOUS</code> +</td> +<td class="hdlist2"> <p>Parsed option matches more than one specification.</p> -</dd> -<dt class="hdlist1"><code>NNG_ENOARG</code></dt> -<dd> +</td> +</tr> +<tr> +<td class="hdlist1"> +<code>NNG_ENOARG</code> +</td> +<td class="hdlist2"> <p>Option requires an argument, but one is not present.</p> -</dd> -<dt class="hdlist1"><code>NNG_EINVAL</code></dt> -<dd> +</td> +</tr> +<tr> +<td class="hdlist1"> +<code>NNG_EINVAL</code> +</td> +<td class="hdlist2"> <p>An invalid (unknown) argument is present.</p> -</dd> -</dl> +</td> +</tr> +</table> </div> </div> </div> <div class="sect1"> <h2 id="_see_also">SEE ALSO</h2> <div class="sectionbody"> -<div class="paragraph"> +<div class="paragraph text-left"> <p><a href="nng_strerror.3.html">nng_strerror(3)</a>, <a href="nng.7.html">nng(7)</a></p> </div> diff --git a/man/tip/nng_pair.7.html b/man/tip/nng_pair.7.html index 4f2262fe..a3435d57 100644 --- a/man/tip/nng_pair.7.html +++ b/man/tip/nng_pair.7.html @@ -553,8 +553,8 @@ relationships between peers are one-to-one.</p> </div> <div class="paragraph"> <p>Version 1 of this protocol supports an optional <em>polyamorous</em> mode where a -peer can maintain multiple partnerships. Using this mode requires -some additional sophistication in the application.</p> +peer can maintain multiple partnerships. +Using this mode requires some additional sophistication in the application.</p> </div> <div class="sect2"> <h3 id="_socket_operations">Socket Operations</h3> @@ -579,7 +579,7 @@ prevents discarding messages most of the time, there are topologies involving messages may be discarded. Applications that require reliable delivery semantics should consider using <a href="nng_req.7.html"><em>req</em></a> sockets, or -implement their own acknowledgement layer on top of <em>pair</em> sockets. +implement their own acknowledgment layer on top of <em>pair</em> sockets. </td> </tr> </table> @@ -641,7 +641,7 @@ peer.</p> <p>In <em>polyamorous</em> mode, which is only available with version 1, a socket can support many one-to-one connections. In this mode, the application must -choose the remote peer to receive an ougoing message by setting the +choose the remote peer to receive an outgoing message by setting the <code><a href="nng_pipe.5.html">nng_pipe</a></code> to use for the outgoing message with the <code><a href="nng_msg_set_pipe.3.html">nng_msg_set_pipe()</a></code> function.</p> </div> @@ -667,7 +667,7 @@ to the sender.</p> <dt class="hdlist1"><code>NNG_OPT_PAIR1_POLY</code></dt> <dd> <p>(<code>bool</code>, version 1 only) This option enables the use of <em>polyamorous</em> mode. -The value is read-write, and takes an integer boolean value. The default +The value is read-write, and takes an integer Boolean value. The default false value (0) indicates that legacy monogamous mode should be used.</p> </dd> <dt class="hdlist1"><code><a href="nng_options.5.html#NNG_OPT_MAXTTL">NNG_OPT_MAXTTL</a></code></dt> @@ -685,7 +685,7 @@ false value (0) indicates that legacy monogamous mode should be used.</p> <div class="paragraph"> <p>Version 1 of the pair protocol uses a single 32-bit unsigned value. The low-order (big-endian) byte of this value contains a "hop" count, and is -used in conjuction with the +used in conjunction with the <code><a href="nng_options.5.html#NNG_OPT_MAXTTL">NNG_OPT_MAXTTL</a></code> option to guard against device forwarding loops. This value is initialized to 1, and incremented each time the message is @@ -697,7 +697,7 @@ received by a new node.</p> <div class="sect1"> <h2 id="_see_also">SEE ALSO</h2> <div class="sectionbody"> -<div class="paragraph"> +<div class="paragraph text-left"> <p><a href="nng_pair_open.3.html">nng_pair_open(3)</a>, <a href="nng_options.5.html">nng_options(5)</a>, <a href="nng.7.html">nng(7)</a></p> diff --git a/man/tip/nng_pair_open.3.html b/man/tip/nng_pair_open.3.html index 0eb51508..1d3d6b35 100644 --- a/man/tip/nng_pair_open.3.html +++ b/man/tip/nng_pair_open.3.html @@ -572,24 +572,32 @@ create a <a href="nng_pair.7.html"><em>pair</em></a> version 0 or version 1 <div class="sect1"> <h2 id="_errors">ERRORS</h2> <div class="sectionbody"> -<div class="dlist"> -<dl> -<dt class="hdlist1"><code>NNG_ENOMEM</code></dt> -<dd> +<div class="hdlist"> +<table> +<tr> +<td class="hdlist1"> +<code>NNG_ENOMEM</code> +</td> +<td class="hdlist2"> <p>Insufficient memory is available.</p> -</dd> -<dt class="hdlist1"><code>NNG_ENOTSUP</code></dt> -<dd> +</td> +</tr> +<tr> +<td class="hdlist1"> +<code>NNG_ENOTSUP</code> +</td> +<td class="hdlist2"> <p>The protocol is not supported.</p> -</dd> -</dl> +</td> +</tr> +</table> </div> </div> </div> <div class="sect1"> <h2 id="_see_also">SEE ALSO</h2> <div class="sectionbody"> -<div class="paragraph"> +<div class="paragraph text-left"> <p><a href="nng_socket.5.html">nng_socket(5)</a>, <a href="nng_pair.7.html">nng_pair(7)</a>, <a href="nng.7.html">nng(7)</a></p> diff --git a/man/tip/nng_pipe.5.html b/man/tip/nng_pipe.5.html index 83d6fbcc..90c26c71 100644 --- a/man/tip/nng_pipe.5.html +++ b/man/tip/nng_pipe.5.html @@ -607,7 +607,7 @@ before it is opened, to prevent confusion with valid open pipes.</p> <div class="sect1"> <h2 id="_see_also">SEE ALSO</h2> <div class="sectionbody"> -<div class="paragraph"> +<div class="paragraph text-left"> <p><a href="nng_msg_get_pipe.3.html">nng_msg_get_pipe(3)</a>, <a href="nng_pipe_close.3.html">nng_pipe_close(3)</a>, <a href="nng_pipe_getopt.3.html">nng_pipe_getopt(3)</a>, diff --git a/man/tip/nng_pipe_close.3.html b/man/tip/nng_pipe_close.3.html index 0f167618..8dcabab8 100644 --- a/man/tip/nng_pipe_close.3.html +++ b/man/tip/nng_pipe_close.3.html @@ -571,20 +571,24 @@ remote peer closes the underlying connection. <div class="sect1"> <h2 id="_errors">ERRORS</h2> <div class="sectionbody"> -<div class="dlist"> -<dl> -<dt class="hdlist1"><code>NNG_ECLOSED</code></dt> -<dd> +<div class="hdlist"> +<table> +<tr> +<td class="hdlist1"> +<code>NNG_ECLOSED</code> +</td> +<td class="hdlist2"> <p>The pipe <em>p</em> is already closed or was never opened.</p> -</dd> -</dl> +</td> +</tr> +</table> </div> </div> </div> <div class="sect1"> <h2 id="_see_also">SEE ALSO</h2> <div class="sectionbody"> -<div class="paragraph"> +<div class="paragraph text-left"> <p><a href="nng_strerror.3.html">nng_strerror(3)</a>, <a href="nng_options.5.html">nng_options(5)</a>, <a href="nng_pipe.5.html">nng_pipe(5)</a>, diff --git a/man/tip/nng_pipe_dialer.3.html b/man/tip/nng_pipe_dialer.3.html index 66dc1902..0133e4ac 100644 --- a/man/tip/nng_pipe_dialer.3.html +++ b/man/tip/nng_pipe_dialer.3.html @@ -564,7 +564,7 @@ not created by a dialer, in which case a value initialized with <div class="sect1"> <h2 id="_see_also">SEE ALSO</h2> <div class="sectionbody"> -<div class="paragraph"> +<div class="paragraph text-left"> <p><a href="nng_pipe.5.html">nng_pipe(5)</a>, <a href="nng_dialer.5.html">nng_dialer(5)</a>, <a href="nng.7.html">nng(7)</a></p> diff --git a/man/tip/nng_pipe_getopt.3.html b/man/tip/nng_pipe_getopt.3.html index cc1e6183..d0fe38c1 100644 --- a/man/tip/nng_pipe_getopt.3.html +++ b/man/tip/nng_pipe_getopt.3.html @@ -562,7 +562,7 @@ the <a href="nng_pipe.5.html">pipe</a> <em>p</em>. The actual options that may be retrieved in this way vary, and many are documented in <a href="nng_options.5.html">nng_options(5)</a>. Additionally some transport-specific options and protocol-specific options are -documented with the transports andp protocols themselves.</p> +documented with the transports and protocols themselves.</p> </div> <div class="admonitionblock note"> <table> @@ -603,10 +603,10 @@ buffer shall be stored at the location referenced by <em>valszp</em>.</p> <div class="paragraph"> <p>When the function returns, the actual size of the data copied (or that would have been copied if sufficient space were present) is stored at -the location referened by <em>valszp</em>. +the location referenced by <em>valszp</em>. If the caller’s buffer is not large enough to hold the entire object, then the copy is truncated. -Therefore the caller should check for trncation by verifying that the +Therefore the caller should check for truncation by verifying that the size returned in <em>valszp</em> does not exceed the original buffer size.</p> </div> <div class="paragraph"> @@ -630,16 +630,15 @@ Generally, it will be easier to use one of the typed forms instead. <div class="sect3"> <h4 id="_code_nng_pipe_getopt_bool_code"><code>nng_pipe_getopt_bool()</code></h4> <div class="paragraph"> -<p>This function is for options which take a boolean (<code>bool</code>). +<p>This function is for options which take a Boolean (<code>bool</code>). The value will be stored at <em>bvalp</em>.</p> </div> </div> <div class="sect3"> <h4 id="_code_nng_pipe_getopt_int_code"><code>nng_pipe_getopt_int()</code></h4> <div class="paragraph"> -<p>This function is for options which take an integer (<code>int</code>) or boolean (<code>bool</code>). -The value will be stored at <em>ivalp</em>. For booleans the value will be eiher 0 -(<code>false</code>) or 1 (<code>true</code>).</p> +<p>This function is for options which take an integer (<code>int</code>). +The value will be stored at <em>ivalp</em>.</p> </div> </div> <div class="sect3"> @@ -685,7 +684,7 @@ and consequently must be freed by the caller using <div class="sect3"> <h4 id="_code_nng_pipe_getopt_uint64_code"><code>nng_pipe_getopt_uint64()</code></h4> <div class="paragraph"> -<p>This function is used to retriev a 64-bit unsigned value into the value +<p>This function is used to retrieve a 64-bit unsigned value into the value referenced by <em>u64p</em>. This is typically used for options related to identifiers, network numbers, and similar.</p> @@ -705,40 +704,64 @@ related to identifiers, network numbers, and similar.</p> <div class="sect1"> <h2 id="_errors">ERRORS</h2> <div class="sectionbody"> -<div class="dlist"> -<dl> -<dt class="hdlist1"><code>NNG_EBADTYPE</code></dt> -<dd> +<div class="hdlist"> +<table> +<tr> +<td class="hdlist1"> +<code>NNG_EBADTYPE</code> +</td> +<td class="hdlist2"> <p>Incorrect type for option.</p> -</dd> -<dt class="hdlist1"><code>NNG_ECLOSED</code></dt> -<dd> +</td> +</tr> +<tr> +<td class="hdlist1"> +<code>NNG_ECLOSED</code> +</td> +<td class="hdlist2"> <p>Parameter <em>p</em> does not refer to an open pipe.</p> -</dd> -<dt class="hdlist1"><code>NNG_ENOTSUP</code></dt> -<dd> +</td> +</tr> +<tr> +<td class="hdlist1"> +<code>NNG_ENOTSUP</code> +</td> +<td class="hdlist2"> <p>The option <em>opt</em> is not supported.</p> -</dd> -<dt class="hdlist1"><code>NNG_ENOMEM</code></dt> -<dd> +</td> +</tr> +<tr> +<td class="hdlist1"> +<code>NNG_ENOMEM</code> +</td> +<td class="hdlist2"> <p>Insufficient memory exists.</p> -</dd> -<dt class="hdlist1"><code>NNG_EINVAL</code></dt> -<dd> +</td> +</tr> +<tr> +<td class="hdlist1"> +<code>NNG_EINVAL</code> +</td> +<td class="hdlist2"> <p>Size of destination <em>val</em> too small for object.</p> -</dd> -<dt class="hdlist1"><code>NNG_EWRITEONLY</code></dt> -<dd> +</td> +</tr> +<tr> +<td class="hdlist1"> +<code>NNG_EWRITEONLY</code> +</td> +<td class="hdlist2"> <p>The option <em>opt</em> is write-only.</p> -</dd> -</dl> +</td> +</tr> +</table> </div> </div> </div> <div class="sect1"> <h2 id="_see_also">SEE ALSO</h2> <div class="sectionbody"> -<div class="paragraph"> +<div class="paragraph text-left"> <p><a href="nng_dialer_setopt.3.html">nng_dialer_setopt(3)</a> <a href="nng_getopt.3.html">nng_getopt(3)</a>, <a href="nng_listener_setopt.3.html">nng_listener_setopt(3)</a> diff --git a/man/tip/nng_pipe_id.3.html b/man/tip/nng_pipe_id.3.html index 54150ff3..3432c70b 100644 --- a/man/tip/nng_pipe_id.3.html +++ b/man/tip/nng_pipe_id.3.html @@ -578,7 +578,7 @@ they cannot be confused with a valid pipe. <div class="sect1"> <h2 id="_see_also">SEE ALSO</h2> <div class="sectionbody"> -<div class="paragraph"> +<div class="paragraph text-left"> <p><a href="nng_pipe.5.html">nng_pipe(5)</a>, <a href="nng.7.html">nng(7)</a></p> </div> diff --git a/man/tip/nng_pipe_listener.3.html b/man/tip/nng_pipe_listener.3.html index 0dd4dbfe..a6241e43 100644 --- a/man/tip/nng_pipe_listener.3.html +++ b/man/tip/nng_pipe_listener.3.html @@ -536,7 +536,7 @@ body.book #toc,body.book #preamble,body.book h1.sect0,body.book .sect1>h2{page-b <h2 id="_description">DESCRIPTION</h2> <div class="sectionbody"> <div class="paragraph"> -<p>The <code>nng_pipe_listener()</code> function returns the <code><a href="nng_listener.5.html">nng_lisener</a></code> +<p>The <code>nng_pipe_listener()</code> function returns the <code><a href="nng_listener.5.html">nng_listener</a></code> that created the pipe <em>p</em>. If the pipe was not created by a listener, then the returned value will have an identifier (<code><a href="nng_listener_id.3.html">nng_listener_id()</a></code>) of <code>-1</code>.</p> @@ -564,7 +564,7 @@ not created by a listener, in which case a value initialized with <div class="sect1"> <h2 id="_see_also">SEE ALSO</h2> <div class="sectionbody"> -<div class="paragraph"> +<div class="paragraph text-left"> <p><a href="nng_pipe.5.html">nng_pipe(5)</a>, <a href="nng_listener.5.html">nng_listener(5)</a>, <a href="nng.7.html">nng(7)</a></p> diff --git a/man/tip/nng_pipe_notify.3.html b/man/tip/nng_pipe_notify.3.html index 443b7ed9..8153eb04 100644 --- a/man/tip/nng_pipe_notify.3.html +++ b/man/tip/nng_pipe_notify.3.html @@ -636,20 +636,24 @@ This function ignores invalid values for <em>ev</em>. <div class="sect1"> <h2 id="_errors">ERRORS</h2> <div class="sectionbody"> -<div class="dlist"> -<dl> -<dt class="hdlist1"><code>NNG_ECLOSED</code></dt> -<dd> +<div class="hdlist"> +<table> +<tr> +<td class="hdlist1"> +<code>NNG_ECLOSED</code> +</td> +<td class="hdlist2"> <p>The socket <em>s</em> does not refer to an open socket.</p> -</dd> -</dl> +</td> +</tr> +</table> </div> </div> </div> <div class="sect1"> <h2 id="_see_also">SEE ALSO</h2> <div class="sectionbody"> -<div class="paragraph"> +<div class="paragraph text-left"> <p><a href="nng_pipe_close.3.html">nng_pipe_close(3)</a>, <a href="nng_pipe_getopt.3.html">nng_pipe_getopt(3)</a>, <a href="nng_pipe.5.html">nng_pipe(5)</a>, diff --git a/man/tip/nng_pipe_socket.3.html b/man/tip/nng_pipe_socket.3.html index de4f64f1..13861c70 100644 --- a/man/tip/nng_pipe_socket.3.html +++ b/man/tip/nng_pipe_socket.3.html @@ -573,7 +573,7 @@ which case it will not be usable with other functions. <div class="sect1"> <h2 id="_see_also">SEE ALSO</h2> <div class="sectionbody"> -<div class="paragraph"> +<div class="paragraph text-left"> <p><a href="nng_pipe.5.html">nng_pipe(5)</a>, <a href="nng_socket.5.html">nng_socket(5)</a>, <a href="nng.7.html">nng(7)</a></p> diff --git a/man/tip/nng_pub.7.html b/man/tip/nng_pub.7.html index f3e9e1dc..c4a54c5c 100644 --- a/man/tip/nng_pub.7.html +++ b/man/tip/nng_pub.7.html @@ -603,7 +603,7 @@ Attempts to receive messages will result in <code>NNG_ENOTSUP</code>.</p> <div class="sect1"> <h2 id="_see_also">SEE ALSO</h2> <div class="sectionbody"> -<div class="paragraph"> +<div class="paragraph text-left"> <p><a href="nng_pub_open.3.html">nng_pub_open(3)</a>, <a href="nng_sub.7.html">nng_sub(7)</a>, <a href="nng.7.html">nng(7)</a></p> diff --git a/man/tip/nng_pub_open.3.html b/man/tip/nng_pub_open.3.html index 29d40cf0..f734be52 100644 --- a/man/tip/nng_pub_open.3.html +++ b/man/tip/nng_pub_open.3.html @@ -560,24 +560,32 @@ body.book #toc,body.book #preamble,body.book h1.sect0,body.book .sect1>h2{page-b <div class="sect1"> <h2 id="_errors">ERRORS</h2> <div class="sectionbody"> -<div class="dlist"> -<dl> -<dt class="hdlist1"><code>NNG_ENOMEM</code></dt> -<dd> +<div class="hdlist"> +<table> +<tr> +<td class="hdlist1"> +<code>NNG_ENOMEM</code> +</td> +<td class="hdlist2"> <p>Insufficient memory is available.</p> -</dd> -<dt class="hdlist1"><code>NNG_ENOTSUP</code></dt> -<dd> +</td> +</tr> +<tr> +<td class="hdlist1"> +<code>NNG_ENOTSUP</code> +</td> +<td class="hdlist2"> <p>The protocol is not supported.</p> -</dd> -</dl> +</td> +</tr> +</table> </div> </div> </div> <div class="sect1"> <h2 id="_see_also">SEE ALSO</h2> <div class="sectionbody"> -<div class="paragraph"> +<div class="paragraph text-left"> <p><a href="nng_socket.5.html">nng_socket(5)</a>, <a href="nng_pub.7.html">nng_pub(7)</a>, <a href="nng_sub.7.html">nng_sub(7)</a>, diff --git a/man/tip/nng_pull.7.html b/man/tip/nng_pull.7.html index de455ada..9b1dc72e 100644 --- a/man/tip/nng_pull.7.html +++ b/man/tip/nng_pull.7.html @@ -589,7 +589,7 @@ order in which messages are handled is undefined.</p> <div class="sect1"> <h2 id="_see_also">SEE ALSO</h2> <div class="sectionbody"> -<div class="paragraph"> +<div class="paragraph text-left"> <p><a href="nng_pull_open.3.html">nng_pull_open(3)</a>, <a href="nng_push.7.html">nng_push(7)</a>, <a href="nng.7.html">nng(7)</a>,</p> diff --git a/man/tip/nng_pull_open.3.html b/man/tip/nng_pull_open.3.html index 50f2b7bf..dbec6a1b 100644 --- a/man/tip/nng_pull_open.3.html +++ b/man/tip/nng_pull_open.3.html @@ -560,24 +560,32 @@ body.book #toc,body.book #preamble,body.book h1.sect0,body.book .sect1>h2{page-b <div class="sect1"> <h2 id="_errors">ERRORS</h2> <div class="sectionbody"> -<div class="dlist"> -<dl> -<dt class="hdlist1"><code>NNG_ENOMEM</code></dt> -<dd> +<div class="hdlist"> +<table> +<tr> +<td class="hdlist1"> +<code>NNG_ENOMEM</code> +</td> +<td class="hdlist2"> <p>Insufficient memory is available.</p> -</dd> -<dt class="hdlist1"><code>NNG_ENOTSUP</code></dt> -<dd> +</td> +</tr> +<tr> +<td class="hdlist1"> +<code>NNG_ENOTSUP</code> +</td> +<td class="hdlist2"> <p>The protocol is not supported.</p> -</dd> -</dl> +</td> +</tr> +</table> </div> </div> </div> <div class="sect1"> <h2 id="_see_also">SEE ALSO</h2> <div class="sectionbody"> -<div class="paragraph"> +<div class="paragraph text-left"> <p><a href="nng_socket.5.html">nng_socket(5)</a>, <a href="nng_pull.7.html">nng_pull(7)</a>, <a href="nng_push.7.html">nng_push(7)</a>, diff --git a/man/tip/nng_push.7.html b/man/tip/nng_push.7.html index 9bce8313..5492fc9d 100644 --- a/man/tip/nng_push.7.html +++ b/man/tip/nng_push.7.html @@ -572,7 +572,7 @@ wait until one is available, or the operation times out.</p> <td class="content"> Although the pipeline protocol honors flow control, and attempts to avoid dropping messages, no guarantee of delivery is made. -Furthermore, as there is no capability for message acknowledgement, +Furthermore, as there is no capability for message acknowledgment, applications that need reliable delivery are encouraged to consider the <a href="nng_req.7.html"><em>req</em></a> protocol instead. </td> @@ -604,7 +604,7 @@ applications that need reliable delivery are encouraged to consider the <div class="sect1"> <h2 id="_see_also">SEE ALSO</h2> <div class="sectionbody"> -<div class="paragraph"> +<div class="paragraph text-left"> <p><a href="nng_push_open.3.html">nng_push(3)</a>, <a href="nng_pull.7.html">nng_pull(7)</a>, <a href="nng_req.7.html">nng_req(7)</a>, diff --git a/man/tip/nng_push_open.3.html b/man/tip/nng_push_open.3.html index a4089068..2b321eba 100644 --- a/man/tip/nng_push_open.3.html +++ b/man/tip/nng_push_open.3.html @@ -560,24 +560,32 @@ body.book #toc,body.book #preamble,body.book h1.sect0,body.book .sect1>h2{page-b <div class="sect1"> <h2 id="_errors">ERRORS</h2> <div class="sectionbody"> -<div class="dlist"> -<dl> -<dt class="hdlist1"><code>NNG_ENOMEM</code></dt> -<dd> +<div class="hdlist"> +<table> +<tr> +<td class="hdlist1"> +<code>NNG_ENOMEM</code> +</td> +<td class="hdlist2"> <p>Insufficient memory is available.</p> -</dd> -<dt class="hdlist1"><code>NNG_ENOTSUP</code></dt> -<dd> +</td> +</tr> +<tr> +<td class="hdlist1"> +<code>NNG_ENOTSUP</code> +</td> +<td class="hdlist2"> <p>The protocol is not supported.</p> -</dd> -</dl> +</td> +</tr> +</table> </div> </div> </div> <div class="sect1"> <h2 id="_see_also">SEE ALSO</h2> <div class="sectionbody"> -<div class="paragraph"> +<div class="paragraph text-left"> <p><a href="nng_socket.5.html">nng_socket(5)</a>, <a href="nng_pull.7.html">nng_pull(7)</a>, <a href="nng_push.7.html">nng_push(7)</a>, diff --git a/man/tip/nng_random.3supp.html b/man/tip/nng_random.3supp.html index 8397d80f..aef6dd65 100644 --- a/man/tip/nng_random.3supp.html +++ b/man/tip/nng_random.3supp.html @@ -564,7 +564,7 @@ number facilities when available.</p> <div class="sect1"> <h2 id="_see_also">SEE ALSO</h2> <div class="sectionbody"> -<div class="paragraph"> +<div class="paragraph text-left"> <p><a href="nng.7.html">nng(7)</a></p> </div> </div> diff --git a/man/tip/nng_recv.3.html b/man/tip/nng_recv.3.html index 66bf9ab5..487257cf 100644 --- a/man/tip/nng_recv.3.html +++ b/man/tip/nng_recv.3.html @@ -605,44 +605,72 @@ a response using the same flag. <div class="sect1"> <h2 id="_errors">ERRORS</h2> <div class="sectionbody"> -<div class="dlist"> -<dl> -<dt class="hdlist1"><code>NNG_EAGAIN</code></dt> -<dd> +<div class="hdlist"> +<table> +<tr> +<td class="hdlist1"> +<code>NNG_EAGAIN</code> +</td> +<td class="hdlist2"> <p>The socket <em>s</em> cannot accept data for sending.</p> -</dd> -<dt class="hdlist1"><code>NNG_ECLOSED</code></dt> -<dd> +</td> +</tr> +<tr> +<td class="hdlist1"> +<code>NNG_ECLOSED</code> +</td> +<td class="hdlist2"> <p>The socket <em>s</em> is not open.</p> -</dd> -<dt class="hdlist1"><code>NNG_EINVAL</code></dt> -<dd> +</td> +</tr> +<tr> +<td class="hdlist1"> +<code>NNG_EINVAL</code> +</td> +<td class="hdlist2"> <p>An invalid set of <em>flags</em> was specified.</p> -</dd> -<dt class="hdlist1"><code>NNG_EMSGSIZE</code></dt> -<dd> +</td> +</tr> +<tr> +<td class="hdlist1"> +<code>NNG_EMSGSIZE</code> +</td> +<td class="hdlist2"> <p>The received message did not fit in the size provided.</p> -</dd> -<dt class="hdlist1"><code>NNG_ENOMEM</code></dt> -<dd> +</td> +</tr> +<tr> +<td class="hdlist1"> +<code>NNG_ENOMEM</code> +</td> +<td class="hdlist2"> <p>Insufficient memory is available.</p> -</dd> -<dt class="hdlist1"><code>NNG_ENOTSUP</code></dt> -<dd> +</td> +</tr> +<tr> +<td class="hdlist1"> +<code>NNG_ENOTSUP</code> +</td> +<td class="hdlist2"> <p>The protocol for socket <em>s</em> does not support receiving.</p> -</dd> -<dt class="hdlist1"><code>NNG_ESTATE</code></dt> -<dd> +</td> +</tr> +<tr> +<td class="hdlist1"> +<code>NNG_ESTATE</code> +</td> +<td class="hdlist2"> <p>The socket <em>s</em> cannot receive data in this state.</p> -</dd> -</dl> +</td> +</tr> +</table> </div> </div> </div> <div class="sect1"> <h2 id="_see_also">SEE ALSO</h2> <div class="sectionbody"> -<div class="paragraph"> +<div class="paragraph text-left"> <p><a href="nng_alloc.3.html">nng_alloc(3)</a>, <a href="nng_free.3.html">nng_free(3)</a>, <a href="nng_recvmsg.3.html">nng_recvmsg(3)</a>, diff --git a/man/tip/nng_recv_aio.3.html b/man/tip/nng_recv_aio.3.html index e9dd66c5..388e78ae 100644 --- a/man/tip/nng_recv_aio.3.html +++ b/man/tip/nng_recv_aio.3.html @@ -601,40 +601,64 @@ are replies to requests, until they have first sent a request.) <div class="sect1"> <h2 id="_errors">ERRORS</h2> <div class="sectionbody"> -<div class="dlist"> -<dl> -<dt class="hdlist1"><code>NNG_ECANCELED</code></dt> -<dd> +<div class="hdlist"> +<table> +<tr> +<td class="hdlist1"> +<code>NNG_ECANCELED</code> +</td> +<td class="hdlist2"> <p>The operation was aborted.</p> -</dd> -<dt class="hdlist1"><code>NNG_ECLOSED</code></dt> -<dd> +</td> +</tr> +<tr> +<td class="hdlist1"> +<code>NNG_ECLOSED</code> +</td> +<td class="hdlist2"> <p>The socket <em>s</em> is not open.</p> -</dd> -<dt class="hdlist1"><code>NNG_ENOMEM</code></dt> -<dd> +</td> +</tr> +<tr> +<td class="hdlist1"> +<code>NNG_ENOMEM</code> +</td> +<td class="hdlist2"> <p>Insufficient memory is available.</p> -</dd> -<dt class="hdlist1"><code>NNG_ENOTSUP</code></dt> -<dd> +</td> +</tr> +<tr> +<td class="hdlist1"> +<code>NNG_ENOTSUP</code> +</td> +<td class="hdlist2"> <p>The protocol for socket <em>s</em> does not support receiving.</p> -</dd> -<dt class="hdlist1"><code>NNG_ESTATE</code></dt> -<dd> +</td> +</tr> +<tr> +<td class="hdlist1"> +<code>NNG_ESTATE</code> +</td> +<td class="hdlist2"> <p>The socket <em>s</em> cannot receive data in this state.</p> -</dd> -<dt class="hdlist1"><code>NNG_ETIMEDOUT</code></dt> -<dd> +</td> +</tr> +<tr> +<td class="hdlist1"> +<code>NNG_ETIMEDOUT</code> +</td> +<td class="hdlist2"> <p>The receive timeout expired.</p> -</dd> -</dl> +</td> +</tr> +</table> </div> </div> </div> <div class="sect1"> <h2 id="_see_also">SEE ALSO</h2> <div class="sectionbody"> -<div class="paragraph"> +<div class="paragraph text-left"> <p><a href="nng_aio_get_msg.3.html">nng_aio_get_msg(3)</a>, <a href="nng_aio_set_msg.3.html">nng_aio_set_msg(3)</a>, <a href="nng_msg_alloc.3.html">nng_msg_alloc(3)</a>, diff --git a/man/tip/nng_recvmsg.3.html b/man/tip/nng_recvmsg.3.html index b0432071..47b1278f 100644 --- a/man/tip/nng_recvmsg.3.html +++ b/man/tip/nng_recvmsg.3.html @@ -596,40 +596,64 @@ Furthermore, some protocols may not support receiving data at all, such as <div class="sect1"> <h2 id="_errors">ERRORS</h2> <div class="sectionbody"> -<div class="dlist"> -<dl> -<dt class="hdlist1"><code>NNG_EAGAIN</code></dt> -<dd> +<div class="hdlist"> +<table> +<tr> +<td class="hdlist1"> +<code>NNG_EAGAIN</code> +</td> +<td class="hdlist2"> <p>The socket <em>s</em> cannot accept data for sending.</p> -</dd> -<dt class="hdlist1"><code>NNG_ECLOSED</code></dt> -<dd> +</td> +</tr> +<tr> +<td class="hdlist1"> +<code>NNG_ECLOSED</code> +</td> +<td class="hdlist2"> <p>The socket <em>s</em> is not open.</p> -</dd> -<dt class="hdlist1"><code>NNG_EINVAL</code></dt> -<dd> +</td> +</tr> +<tr> +<td class="hdlist1"> +<code>NNG_EINVAL</code> +</td> +<td class="hdlist2"> <p>An invalid set of <em>flags</em> was specified.</p> -</dd> -<dt class="hdlist1"><code>NNG_ENOMEM</code></dt> -<dd> +</td> +</tr> +<tr> +<td class="hdlist1"> +<code>NNG_ENOMEM</code> +</td> +<td class="hdlist2"> <p>Insufficient memory is available.</p> -</dd> -<dt class="hdlist1"><code>NNG_ENOTSUP</code></dt> -<dd> +</td> +</tr> +<tr> +<td class="hdlist1"> +<code>NNG_ENOTSUP</code> +</td> +<td class="hdlist2"> <p>The protocol for socket <em>s</em> does not support receiving.</p> -</dd> -<dt class="hdlist1"><code>NNG_ESTATE</code></dt> -<dd> +</td> +</tr> +<tr> +<td class="hdlist1"> +<code>NNG_ESTATE</code> +</td> +<td class="hdlist2"> <p>The socket <em>s</em> cannot receive data in this state.</p> -</dd> -</dl> +</td> +</tr> +</table> </div> </div> </div> <div class="sect1"> <h2 id="_see_also">SEE ALSO</h2> <div class="sectionbody"> -<div class="paragraph"> +<div class="paragraph text-left"> <p><a href="nng_msg_free.3.html">nng_msg_free(3)</a>, <a href="nng_recv.3.html">nng_recv(3)</a>, <a href="nng_sendmsg.3.html">nng_sendmsg(3)</a>, diff --git a/man/tip/nng_rep.7.html b/man/tip/nng_rep.7.html index fe8d55ad..c9edd5ef 100644 --- a/man/tip/nng_rep.7.html +++ b/man/tip/nng_rep.7.html @@ -625,7 +625,7 @@ This is more fully documented in the <a href="nng_req.7.html"><em>req</em></a> m <div class="sect1"> <h2 id="_see_also">SEE ALSO</h2> <div class="sectionbody"> -<div class="paragraph"> +<div class="paragraph text-left"> <p><a href="nng_rep_open.3.html">nng_rep_open(3)</a>, <a href="nng.7.html">nng(7)</a>, <a href="nng_req.7.html">nng_req(7)</a></p> diff --git a/man/tip/nng_rep_open.3.html b/man/tip/nng_rep_open.3.html index 84c36b63..7e081172 100644 --- a/man/tip/nng_rep_open.3.html +++ b/man/tip/nng_rep_open.3.html @@ -558,24 +558,32 @@ in <a href="nng.7.html">raw</a> mode and returns it at the location pointed to b <div class="sect1"> <h2 id="_errors">ERRORS</h2> <div class="sectionbody"> -<div class="dlist"> -<dl> -<dt class="hdlist1"><code>NNG_ENOMEM</code></dt> -<dd> +<div class="hdlist"> +<table> +<tr> +<td class="hdlist1"> +<code>NNG_ENOMEM</code> +</td> +<td class="hdlist2"> <p>Insufficient memory is available.</p> -</dd> -<dt class="hdlist1"><code>NNG_ENOTSUP</code></dt> -<dd> +</td> +</tr> +<tr> +<td class="hdlist1"> +<code>NNG_ENOTSUP</code> +</td> +<td class="hdlist2"> <p>The protocol is not supported.</p> -</dd> -</dl> +</td> +</tr> +</table> </div> </div> </div> <div class="sect1"> <h2 id="_see_also">SEE ALSO</h2> <div class="sectionbody"> -<div class="paragraph"> +<div class="paragraph text-left"> <p><a href="nng_socket.5.html">nng_socket(5)</a>, <a href="nng_rep.7.html">nng_rep(7)</a>, <a href="nng_req.7.html">nng_req(7)</a>, diff --git a/man/tip/nng_req.7.html b/man/tip/nng_req.7.html index 429343c3..e32cc0b6 100644 --- a/man/tip/nng_req.7.html +++ b/man/tip/nng_req.7.html @@ -685,7 +685,7 @@ There <strong>must</strong> be at least one identifier, the <em>request ID</em>, last element in the array, and <strong>must</strong> have the most significant bit set.</p> </div> <div class="paragraph"> -<p>There may be additional <em>peer ID</em>s preceeding the request ID. +<p>There may be additional <em>peer ID</em>s preceding the request ID. These will be distinguishable from the request ID by having their most significant bit clear.</p> </div> @@ -714,7 +714,7 @@ that the request contained.</p> message, stripping it from the front of the message as it does so.</p> </div> <div class="paragraph"> -<p>When the reply finally arrives back at the initiating requestor, it +<p>When the reply finally arrives back at the initiating requester, it should have only a single element in the message, which will be the request ID it originally used for the request.</p> </div> @@ -724,7 +724,7 @@ request ID it originally used for the request.</p> <div class="sect1"> <h2 id="_see_also">SEE ALSO</h2> <div class="sectionbody"> -<div class="paragraph"> +<div class="paragraph text-left"> <p><a href="nng_ctx_open.3.html">nng_ctx_open(3)</a>, <a href="nng_device.3.html">nng_device(3)</a>, <a href="nng_req_open.3.html">nng_req_open(3)</a>, diff --git a/man/tip/nng_req_open.3.html b/man/tip/nng_req_open.3.html index b9989eec..6b213e66 100644 --- a/man/tip/nng_req_open.3.html +++ b/man/tip/nng_req_open.3.html @@ -561,24 +561,32 @@ and returns it at the location pointed to by <em>s</em>.</p> <div class="sect1"> <h2 id="_errors">ERRORS</h2> <div class="sectionbody"> -<div class="dlist"> -<dl> -<dt class="hdlist1"><code>NNG_ENOMEM</code></dt> -<dd> +<div class="hdlist"> +<table> +<tr> +<td class="hdlist1"> +<code>NNG_ENOMEM</code> +</td> +<td class="hdlist2"> <p>Insufficient memory is available.</p> -</dd> -<dt class="hdlist1"><code>NNG_ENOTSUP</code></dt> -<dd> +</td> +</tr> +<tr> +<td class="hdlist1"> +<code>NNG_ENOTSUP</code> +</td> +<td class="hdlist2"> <p>The protocol is not supported.</p> -</dd> -</dl> +</td> +</tr> +</table> </div> </div> </div> <div class="sect1"> <h2 id="_see_also">SEE ALSO</h2> <div class="sectionbody"> -<div class="paragraph"> +<div class="paragraph text-left"> <p><a href="nng_options.5.html">nng_options(5)</a>, <a href="nng_socket.5.html">nng_socket(5)</a>, <a href="nng_rep.7.html">nng_rep(7)</a>, diff --git a/man/tip/nng_respondent.7.html b/man/tip/nng_respondent.7.html index 173f0752..2b1f2d94 100644 --- a/man/tip/nng_respondent.7.html +++ b/man/tip/nng_respondent.7.html @@ -628,7 +628,7 @@ This is more fully documented in the <a href="nng_surveyor.7.html"><em>surveyor< <div class="sect1"> <h2 id="_see_also">SEE ALSO</h2> <div class="sectionbody"> -<div class="paragraph"> +<div class="paragraph text-left"> <p><a href="nng_respondent_open.3.html">nng_respondent_open(3)</a>, <a href="nng_surveyor.7.html">nng_surveyor(7)</a>, <a href="nng.7.html">nng(7)</a></p> diff --git a/man/tip/nng_respondent_open.3.html b/man/tip/nng_respondent_open.3.html index 86c25a56..123871aa 100644 --- a/man/tip/nng_respondent_open.3.html +++ b/man/tip/nng_respondent_open.3.html @@ -563,24 +563,32 @@ version 0 <a href="nng_socket.5.html">socket</a> in <div class="sect1"> <h2 id="_errors">ERRORS</h2> <div class="sectionbody"> -<div class="dlist"> -<dl> -<dt class="hdlist1"><code>NNG_ENOMEM</code></dt> -<dd> +<div class="hdlist"> +<table> +<tr> +<td class="hdlist1"> +<code>NNG_ENOMEM</code> +</td> +<td class="hdlist2"> <p>Insufficient memory is available.</p> -</dd> -<dt class="hdlist1"><code>NNG_ENOTSUP</code></dt> -<dd> +</td> +</tr> +<tr> +<td class="hdlist1"> +<code>NNG_ENOTSUP</code> +</td> +<td class="hdlist2"> <p>The protocol is not supported.</p> -</dd> -</dl> +</td> +</tr> +</table> </div> </div> </div> <div class="sect1"> <h2 id="_see_also">SEE ALSO</h2> <div class="sectionbody"> -<div class="paragraph"> +<div class="paragraph text-left"> <p><a href="nng_socket.5.html">nng_socket(5)</a>, <a href="nng_respondent.7.html">nng_respondent(7)</a>, <a href="nng_surveyor.7.html">nng_surveyor(7)</a>, diff --git a/man/tip/nng_send.3.html b/man/tip/nng_send.3.html index bca655ff..1b1bafee 100644 --- a/man/tip/nng_send.3.html +++ b/man/tip/nng_send.3.html @@ -609,7 +609,7 @@ increasing performance. Regardless of the presence or absence of <code>NNG_FLAG_NONBLOCK</code>, there may be queues between the sender and the receiver. Furthermore, there is no guarantee that the message has actually been delivered. -Finally, with some protocols, the semantic is implictly <code>NNG_FLAG_NONBLOCK</code>, +Finally, with some protocols, the semantic is implicitly <code>NNG_FLAG_NONBLOCK</code>, such as with <a href="nng_pub.7.html"><em>pub</em></a> sockets, which are best-effort delivery only. </td> </tr> @@ -626,7 +626,7 @@ When using <code>NNG_FLAG_ALLOC</code>, it is important that the value of <em>si match the actual allocated size of the data. Using an incorrect size results in unspecified behavior, which may include heap corruption, program crashes, -or transdimensional mutation of the program’s author. +or trans-dimensional mutation of the program’s author. </td> </tr> </table> @@ -644,44 +644,72 @@ or transdimensional mutation of the program’s author. <div class="sect1"> <h2 id="_errors">ERRORS</h2> <div class="sectionbody"> -<div class="dlist"> -<dl> -<dt class="hdlist1"><code>NNG_EAGAIN</code></dt> -<dd> +<div class="hdlist"> +<table> +<tr> +<td class="hdlist1"> +<code>NNG_EAGAIN</code> +</td> +<td class="hdlist2"> <p>The socket <em>s</em> cannot accept data for sending.</p> -</dd> -<dt class="hdlist1"><code>NNG_ECLOSED</code></dt> -<dd> +</td> +</tr> +<tr> +<td class="hdlist1"> +<code>NNG_ECLOSED</code> +</td> +<td class="hdlist2"> <p>The socket <em>s</em> is not open.</p> -</dd> -<dt class="hdlist1"><code>NNG_EINVAL</code></dt> -<dd> +</td> +</tr> +<tr> +<td class="hdlist1"> +<code>NNG_EINVAL</code> +</td> +<td class="hdlist2"> <p>An invalid set of <em>flags</em> was specified.</p> -</dd> -<dt class="hdlist1"><code>NNG_EMSGSIZE</code></dt> -<dd> +</td> +</tr> +<tr> +<td class="hdlist1"> +<code>NNG_EMSGSIZE</code> +</td> +<td class="hdlist2"> <p>The value of <em>size</em> is too large.</p> -</dd> -<dt class="hdlist1"><code>NNG_ENOMEM</code></dt> -<dd> +</td> +</tr> +<tr> +<td class="hdlist1"> +<code>NNG_ENOMEM</code> +</td> +<td class="hdlist2"> <p>Insufficient memory is available.</p> -</dd> -<dt class="hdlist1"><code>NNG_ENOTSUP</code></dt> -<dd> +</td> +</tr> +<tr> +<td class="hdlist1"> +<code>NNG_ENOTSUP</code> +</td> +<td class="hdlist2"> <p>The protocol for socket <em>s</em> does not support sending.</p> -</dd> -<dt class="hdlist1"><code>NNG_ESTATE</code></dt> -<dd> +</td> +</tr> +<tr> +<td class="hdlist1"> +<code>NNG_ESTATE</code> +</td> +<td class="hdlist2"> <p>The socket <em>s</em> cannot send data in this state.</p> -</dd> -</dl> +</td> +</tr> +</table> </div> </div> </div> <div class="sect1"> <h2 id="_see_also">SEE ALSO</h2> <div class="sectionbody"> -<div class="paragraph"> +<div class="paragraph text-left"> <p><a href="nng_alloc.3.html">nng_alloc(3)</a>, <a href="nng_free.3.html">nng_free(3)</a>, <a href="nng_recv.3.html">nng_recv(3)</a>, diff --git a/man/tip/nng_send_aio.3.html b/man/tip/nng_send_aio.3.html index 303c3896..351e085a 100644 --- a/man/tip/nng_send_aio.3.html +++ b/man/tip/nng_send_aio.3.html @@ -572,7 +572,7 @@ socket, or in flight over physical media. then the <em>aio</em> callback will be executed and <code><a href="nng_aio_result.3.html">nng_aio_result()</a></code> will return a non-zero error status. -In this case, the callback has a responsibity to retrieve the message from +In this case, the callback has a responsibility to retrieve the message from the <em>aio</em> with <code><a href="nng_aio_get_msg.3.html">nng_aio_get_msg()</a></code> and dispose of it appropriately. (This may include retrying the send operation on the same or a different @@ -611,44 +611,72 @@ are responses to requests, until they have first received a request.) <div class="sect1"> <h2 id="_errors">ERRORS</h2> <div class="sectionbody"> -<div class="dlist"> -<dl> -<dt class="hdlist1"><code>NNG_ECANCELED</code></dt> -<dd> +<div class="hdlist"> +<table> +<tr> +<td class="hdlist1"> +<code>NNG_ECANCELED</code> +</td> +<td class="hdlist2"> <p>The operation was aborted.</p> -</dd> -<dt class="hdlist1"><code>NNG_ECLOSED</code></dt> -<dd> +</td> +</tr> +<tr> +<td class="hdlist1"> +<code>NNG_ECLOSED</code> +</td> +<td class="hdlist2"> <p>The socket <em>s</em> is not open.</p> -</dd> -<dt class="hdlist1"><code>NNG_EMSGSIZE</code></dt> -<dd> +</td> +</tr> +<tr> +<td class="hdlist1"> +<code>NNG_EMSGSIZE</code> +</td> +<td class="hdlist2"> <p>The message is too large.</p> -</dd> -<dt class="hdlist1"><code>NNG_ENOMEM</code></dt> -<dd> +</td> +</tr> +<tr> +<td class="hdlist1"> +<code>NNG_ENOMEM</code> +</td> +<td class="hdlist2"> <p>Insufficient memory is available.</p> -</dd> -<dt class="hdlist1"><code>NNG_ENOTSUP</code></dt> -<dd> +</td> +</tr> +<tr> +<td class="hdlist1"> +<code>NNG_ENOTSUP</code> +</td> +<td class="hdlist2"> <p>The protocol for socket <em>s</em> does not support sending.</p> -</dd> -<dt class="hdlist1"><code>NNG_ESTATE</code></dt> -<dd> +</td> +</tr> +<tr> +<td class="hdlist1"> +<code>NNG_ESTATE</code> +</td> +<td class="hdlist2"> <p>The socket <em>s</em> cannot send data in this state.</p> -</dd> -<dt class="hdlist1"><code>NNG_ETIMEDOUT</code></dt> -<dd> +</td> +</tr> +<tr> +<td class="hdlist1"> +<code>NNG_ETIMEDOUT</code> +</td> +<td class="hdlist2"> <p>The send timeout expired.</p> -</dd> -</dl> +</td> +</tr> +</table> </div> </div> </div> <div class="sect1"> <h2 id="_see_also">SEE ALSO</h2> <div class="sectionbody"> -<div class="paragraph"> +<div class="paragraph text-left"> <p><a href="nng_aio_get_msg.3.html">nng_aio_get_msg(3)</a>, <a href="nng_aio_set_msg.3.html">nng_aio_set_msg(3)</a>, <a href="nng_msg_alloc.3.html">nng_msg_alloc(3)</a>, diff --git a/man/tip/nng_sendmsg.3.html b/man/tip/nng_sendmsg.3.html index 05ab0a8c..d9c57e00 100644 --- a/man/tip/nng_sendmsg.3.html +++ b/man/tip/nng_sendmsg.3.html @@ -609,7 +609,7 @@ condition exists.</p> Regardless of the presence or absence of <code>NNG_FLAG_NONBLOCK</code>, there may be queues between the sender and the receiver. Furthermore, there is no guarantee that the message has actually been delivered. -Finally, with some protocols, the semantic is implictly <code>NNG_FLAG_NONBLOCK</code>, +Finally, with some protocols, the semantic is implicitly <code>NNG_FLAG_NONBLOCK</code>, such as with <a href="nng_pub.7.html"><em>pub</em></a> sockets, which are best-effort delivery only. </td> </tr> @@ -628,44 +628,72 @@ such as with <a href="nng_pub.7.html"><em>pub</em></a> sockets, which are best-e <div class="sect1"> <h2 id="_errors">ERRORS</h2> <div class="sectionbody"> -<div class="dlist"> -<dl> -<dt class="hdlist1"><code>NNG_EAGAIN</code></dt> -<dd> +<div class="hdlist"> +<table> +<tr> +<td class="hdlist1"> +<code>NNG_EAGAIN</code> +</td> +<td class="hdlist2"> <p>The socket <em>s</em> cannot accept data for sending.</p> -</dd> -<dt class="hdlist1"><code>NNG_ECLOSED</code></dt> -<dd> +</td> +</tr> +<tr> +<td class="hdlist1"> +<code>NNG_ECLOSED</code> +</td> +<td class="hdlist2"> <p>The socket <em>s</em> is not open.</p> -</dd> -<dt class="hdlist1"><code>NNG_EINVAL</code></dt> -<dd> +</td> +</tr> +<tr> +<td class="hdlist1"> +<code>NNG_EINVAL</code> +</td> +<td class="hdlist2"> <p>An invalid set of <em>flags</em> was specified.</p> -</dd> -<dt class="hdlist1"><code>NNG_EMSGSIZE</code></dt> -<dd> +</td> +</tr> +<tr> +<td class="hdlist1"> +<code>NNG_EMSGSIZE</code> +</td> +<td class="hdlist2"> <p>The value of <em>size</em> is too large.</p> -</dd> -<dt class="hdlist1"><code>NNG_ENOMEM</code></dt> -<dd> +</td> +</tr> +<tr> +<td class="hdlist1"> +<code>NNG_ENOMEM</code> +</td> +<td class="hdlist2"> <p>Insufficient memory is available.</p> -</dd> -<dt class="hdlist1"><code>NNG_ENOTSUP</code></dt> -<dd> +</td> +</tr> +<tr> +<td class="hdlist1"> +<code>NNG_ENOTSUP</code> +</td> +<td class="hdlist2"> <p>The protocol for socket <em>s</em> does not support sending.</p> -</dd> -<dt class="hdlist1"><code>NNG_ESTATE</code></dt> -<dd> +</td> +</tr> +<tr> +<td class="hdlist1"> +<code>NNG_ESTATE</code> +</td> +<td class="hdlist2"> <p>The socket <em>s</em> cannot send data in this state.</p> -</dd> -</dl> +</td> +</tr> +</table> </div> </div> </div> <div class="sect1"> <h2 id="_see_also">SEE ALSO</h2> <div class="sectionbody"> -<div class="paragraph"> +<div class="paragraph text-left"> <p><a href="nng_msg_alloc.3.html">nng_msg_alloc(3)</a>, <a href="nng_recvmsg.3.html">nng_recvmsg(3)</a>, <a href="nng_send.3.html">nng_send(3)</a>, diff --git a/man/tip/nng_setopt.3.html b/man/tip/nng_setopt.3.html index 2cdf9e7e..cb2fc9ab 100644 --- a/man/tip/nng_setopt.3.html +++ b/man/tip/nng_setopt.3.html @@ -595,7 +595,7 @@ size of the objected located at <em>val</em>.</p> <div class="sect3"> <h4 id="_code_nng_setopt_bool_code"><code>nng_setopt_bool()</code></h4> <div class="paragraph"> -<p>This function is for options which take a boolean (<code>bool</code>). +<p>This function is for options which take a Boolean (<code>bool</code>). The <em>bval</em> is passed to the option.</p> </div> </div> @@ -665,36 +665,56 @@ and similar.</p> <div class="sect1"> <h2 id="_errors">ERRORS</h2> <div class="sectionbody"> -<div class="dlist"> -<dl> -<dt class="hdlist1"><code>NNG_ECLOSED</code></dt> -<dd> +<div class="hdlist"> +<table> +<tr> +<td class="hdlist1"> +<code>NNG_ECLOSED</code> +</td> +<td class="hdlist2"> <p>Parameter <em>s</em> does not refer to an open socket.</p> -</dd> -<dt class="hdlist1"><code>NNG_EINVAL</code></dt> -<dd> +</td> +</tr> +<tr> +<td class="hdlist1"> +<code>NNG_EINVAL</code> +</td> +<td class="hdlist2"> <p>The value being passed is invalid.</p> -</dd> -<dt class="hdlist1"><code>NNG_ENOTSUP</code></dt> -<dd> +</td> +</tr> +<tr> +<td class="hdlist1"> +<code>NNG_ENOTSUP</code> +</td> +<td class="hdlist2"> <p>The option <em>opt</em> is not supported.</p> -</dd> -<dt class="hdlist1"><code>NNG_EREADONLY</code></dt> -<dd> +</td> +</tr> +<tr> +<td class="hdlist1"> +<code>NNG_EREADONLY</code> +</td> +<td class="hdlist2"> <p>The option <em>opt</em> is read-only.</p> -</dd> -<dt class="hdlist1"><code>NNG_ESTATE</code></dt> -<dd> +</td> +</tr> +<tr> +<td class="hdlist1"> +<code>NNG_ESTATE</code> +</td> +<td class="hdlist2"> <p>The socket is in an inappropriate state for setting this option.</p> -</dd> -</dl> +</td> +</tr> +</table> </div> </div> </div> <div class="sect1"> <h2 id="_see_also">SEE ALSO</h2> <div class="sectionbody"> -<div class="paragraph"> +<div class="paragraph text-left"> <p><a href="nng_getopt.3.html">nng_getopt(3)</a>, <a href="nng_dialer_setopt.3.html">nng_dialer_setopt(3)</a>, <a href="nng_listener_setopt.3.html">nng_listener_setopt(3)</a>, diff --git a/man/tip/nng_sleep_aio.3.html b/man/tip/nng_sleep_aio.3.html index 53bc6a9d..84ce3d5d 100644 --- a/man/tip/nng_sleep_aio.3.html +++ b/man/tip/nng_sleep_aio.3.html @@ -576,7 +576,7 @@ then the sleep will wake up early, with a result code of <code>NNG_ETIMEDOUT</co <div class="sect1"> <h2 id="_see_also">SEE ALSO</h2> <div class="sectionbody"> -<div class="paragraph"> +<div class="paragraph text-left"> <p><a href="nng_aio_abort.3.html">nng_aio_abort(3)</a>, <a href="nng_aio_alloc.3.html">nng_aio_alloc(3)</a>, <a href="nng_aio_set_timeout.3.html">nng_aio_set_timeout(3)</a>, diff --git a/man/tip/nng_sockaddr.5.html b/man/tip/nng_sockaddr.5.html index 50a61dfb..d5e069a9 100644 --- a/man/tip/nng_sockaddr.5.html +++ b/man/tip/nng_sockaddr.5.html @@ -559,7 +559,7 @@ addresses, IPC paths, and so forth.</p> <div class="content"> <div class="paragraph"> <p>The name <code>sockaddr</code> is based on it’s similarity with POSIX <code>struct sockaddr</code>, -but in the <em>nng</em> library, these addreses are more closely affiliated with +but in the <em>nng</em> library, these addresses are more closely affiliated with instances of <code><a href="nng_pipe.5.html">nng_pipe</a></code> than of <code><a href="nng_socket.5.html">nng_socket</a></code>. The naming confusion is unfortunate.</p> @@ -568,7 +568,7 @@ The naming confusion is unfortunate.</p> </div> <div class="paragraph"> <p>This structure is actually a union, with different members for different -types of addreses.</p> +types of addresses.</p> </div> <div class="paragraph"> <p>Every member structure has as its first element a <code>uint16_t</code> field @@ -579,38 +579,57 @@ specific member should be used.</p> <div class="paragraph"> <p>The values of <code>s_family</code> are as follows:</p> </div> -<div class="dlist"> -<dl> -<dt class="hdlist1"><code>NNG_AF_UNSPEC</code></dt> -<dd> +<div class="hdlist"> +<table> +<tr> +<td class="hdlist1"> +<code>NNG_AF_UNSPEC</code> +</td> +<td class="hdlist2"> <p>Invalid address, no other valid fields.</p> -</dd> -<dt class="hdlist1"><code>NNG_AF_INPROC</code></dt> -<dd> -<p>Address for intraprocess communication (<a href="nng_inproc.7.html">nng_inproc(7)</a>). -The <code>s_inproc</code> member is valid.</p> -</dd> -<dt class="hdlist1"><code>NNG_AF_IPC</code></dt> -<dd> -<p>Address for interprocess communication (<a href="nng_ipc.7.html">nng_ipc(7)</a>). -The <code>s_path</code> member is valid.</p> -</dd> -<dt class="hdlist1"><code>NNG_AF_INET</code></dt> -<dd> -<p>Address for TCP/IP (v4) communication. -The <code>s_in</code> member is valid.</p> -</dd> -<dt class="hdlist1"><code>NNG_AF_INET6</code></dt> -<dd> -<p>Address for TCP/IP (v6) communication. -The <code>s_in6</code> member is valid.</p> -</dd> -<dt class="hdlist1"><code>NNG_AF_ZT</code></dt> -<dd> -<p>Address for ZeroTier transport (<a href="nng_zerotier.7.html">nng_zerotier(7)</a>). -The <code>s_zt</code> member is valid.</p> -</dd> -</dl> +</td> +</tr> +<tr> +<td class="hdlist1"> +<code>NNG_AF_INPROC</code> +</td> +<td class="hdlist2"> +<p>Address for intraprocess communication (<a href="nng_inproc.7.html">nng_inproc(7)</a>). The <code>s_inproc</code> member is valid.</p> +</td> +</tr> +<tr> +<td class="hdlist1"> +<code>NNG_AF_IPC</code> +</td> +<td class="hdlist2"> +<p>Address for interprocess communication (<a href="nng_ipc.7.html">nng_ipc(7)</a>). The <code>s_path</code> member is valid.</p> +</td> +</tr> +<tr> +<td class="hdlist1"> +<code>NNG_AF_INET</code> +</td> +<td class="hdlist2"> +<p>Address for TCP/IP (v4) communication. The <code>s_in</code> member is valid.</p> +</td> +</tr> +<tr> +<td class="hdlist1"> +<code>NNG_AF_INET6</code> +</td> +<td class="hdlist2"> +<p>Address for TCP/IP (v6) communication. The <code>s_in6</code> member is valid.</p> +</td> +</tr> +<tr> +<td class="hdlist1"> +<code>NNG_AF_ZT</code> +</td> +<td class="hdlist2"> +<p>Address for ZeroTier transport (<a href="nng_zerotier.7.html">nng_zerotier(7)</a>). The <code>s_zt</code> member is valid.</p> +</td> +</tr> +</table> </div> <div class="paragraph"> <p>Please see the manual pages for each individual type for more information.</p> @@ -620,7 +639,7 @@ The <code>s_zt</code> member is valid.</p> <div class="sect1"> <h2 id="_see_also">SEE ALSO</h2> <div class="sectionbody"> -<div class="paragraph"> +<div class="paragraph text-left"> <p><a href="nng_sockaddr_in.5.html">nng_sockaddr_in(5)</a>, <a href="nng_sockaddr_in6.5.html">nng_sockaddr_in6(5)</a>, <a href="nng_sockaddr_inproc.5.html">nng_sockaddr_inproc(5)</a>, diff --git a/man/tip/nng_sockaddr_in.5.html b/man/tip/nng_sockaddr_in.5.html index d99f25de..1029e8ab 100644 --- a/man/tip/nng_sockaddr_in.5.html +++ b/man/tip/nng_sockaddr_in.5.html @@ -568,7 +568,7 @@ A zero value here is used when no specific port number is indicated.</p> </dd> <dt class="hdlist1"><code>sa_addr</code></dt> <dd> -<p>This field holds the IP addresss in +<p>This field holds the IP address in network-byte order.</p> </dd> </dl> @@ -583,7 +583,7 @@ network-byte order.</p> The <code>sa_port</code> and <code>sa_addr</code> fields are in network-byte order to facilitate their use with system APIs such as <code>inet_ntop()</code>. Most platforms use some form of BSD-derived network API, which uses -network-byte order in the various structurs (such as <code>sockaddr_in</code>). +network-byte order in the various structures (such as <code>sockaddr_in</code>). </td> </tr> </table> @@ -596,7 +596,7 @@ network-byte order in the various structurs (such as <code>sockaddr_in</code>). </td> <td class="content"> This field appears similar to BSD <code>sockaddr_in</code>, but it is -<em>not</em> the same, and they may not be used interchangeabley. +<em>not</em> the same, and they may not be used interchangeably. </td> </tr> </table> @@ -606,7 +606,7 @@ This field appears similar to BSD <code>sockaddr_in</code>, but it is <div class="sect1"> <h2 id="_see_also">SEE ALSO</h2> <div class="sectionbody"> -<div class="paragraph"> +<div class="paragraph text-left"> <p><a href="nng_sockaddr.5.html">nng_sockaddr(5)</a>, <a href="nng_sockaddr_in6.5.html">nng_sockaddr_in6(5)</a>, <a href="nng_tcp.7.html">nng_tcp(7)</a>, diff --git a/man/tip/nng_sockaddr_in6.5.html b/man/tip/nng_sockaddr_in6.5.html index d7ca0dd7..c2d19594 100644 --- a/man/tip/nng_sockaddr_in6.5.html +++ b/man/tip/nng_sockaddr_in6.5.html @@ -568,7 +568,7 @@ A zero value here is used when no specific port number is indicated.</p> </dd> <dt class="hdlist1"><code>sa_addr</code></dt> <dd> -<p>This field holds the IP addresss in +<p>This field holds the IP address in network-byte order.</p> </dd> </dl> @@ -583,7 +583,7 @@ network-byte order.</p> The <code>sa_port</code> and <code>sa_addr</code> fields are in network-byte order to facilitate their use with system APIs such as <code>inet_ntop()</code>. Most platforms use some form of BSD-derived network API, which uses -network-byte order in the various structurs (such as <code>sockaddr_in6</code>). +network-byte order in the various structures (such as <code>sockaddr_in6</code>). </td> </tr> </table> @@ -596,7 +596,7 @@ network-byte order in the various structurs (such as <code>sockaddr_in6</code>). </td> <td class="content"> This field appears similar to BSD <code>sockaddr_in6</code>, but it is -<em>not</em> the same, and they may not be used interchangeabley. +<em>not</em> the same, and they may not be used interchangeably. </td> </tr> </table> @@ -606,7 +606,7 @@ This field appears similar to BSD <code>sockaddr_in6</code>, but it is <div class="sect1"> <h2 id="_see_also">SEE ALSO</h2> <div class="sectionbody"> -<div class="paragraph"> +<div class="paragraph text-left"> <p><a href="nng_sockaddr.5.html">nng_sockaddr(5)</a>, <a href="nng_sockaddr_in.5.html">nng_sockaddr_in(5)</a>, <a href="nng_tcp.7.html">nng_tcp(7)</a>, diff --git a/man/tip/nng_sockaddr_inproc.5.html b/man/tip/nng_sockaddr_inproc.5.html index f34d5b8f..9ce936b0 100644 --- a/man/tip/nng_sockaddr_inproc.5.html +++ b/man/tip/nng_sockaddr_inproc.5.html @@ -571,7 +571,7 @@ The string must be <code>NUL</code> terminated, but no other restrictions exist. </td> <td class="content"> In order to ensure maximum compatibility, applications should avoid -hard coding the sizeof the <code>sa_name</code> member explicitly, but use the +hard coding the size of the <code>sa_name</code> member explicitly, but use the <code>sizeof</code> operator to determine its actual size at compile time. Furthermore, the size is guaranteed to be at least 128. </td> @@ -583,7 +583,7 @@ Furthermore, the size is guaranteed to be at least 128. <div class="sect1"> <h2 id="_see_also">SEE ALSO</h2> <div class="sectionbody"> -<div class="paragraph"> +<div class="paragraph text-left"> <p><a href="nng_sockaddr.5.html">nng_sockaddr(5)</a>, <a href="nng_inproc.7.html">nng_inproc(7)</a> <a href="nng.7.html">nng(7)</a></p> diff --git a/man/tip/nng_sockaddr_ipc.5.html b/man/tip/nng_sockaddr_ipc.5.html index 230b3e5f..3017bedc 100644 --- a/man/tip/nng_sockaddr_ipc.5.html +++ b/man/tip/nng_sockaddr_ipc.5.html @@ -557,11 +557,11 @@ using the <a href="nng_ipc.7.html"><em>ipc</em></a> transport.</p> </dd> <dt class="hdlist1"><code>sa_path</code></dt> <dd> -<p>This field holds the C string corresponding to pathname where the +<p>This field holds the C string corresponding to path name where the IPC socket is located. For systems using UNIX domain sockets, this will be an absolute -pathname in the filesystem, where the UNIX domain socket is located. -For Windows systems, this is the pathname of the Named Pipe, without +path name in the file system, where the UNIX domain socket is located. +For Windows systems, this is the path name of the Named Pipe, without the leading <code>\\.pipe\</code> portion, which will be automatically added.</p> </dd> </dl> @@ -586,7 +586,7 @@ At this time, there is no support for Linux “abstract sockets”. </td> <td class="content"> In order to ensure maximum compatibility, applications should avoid -hard coding the sizeof the <code>sa_path</code> member explicitly, but use the +hard coding the size of the <code>sa_path</code> member explicitly, but use the <code>sizeof</code> operator to determine its actual size at compile time. Furthermore, the size is guaranteed to be at least 128, but paths of this length may not be supported on all systems. @@ -615,7 +615,7 @@ longer than 128 bytes, including the <code>ipc://</code> prefix. <div class="sect1"> <h2 id="_see_also">SEE ALSO</h2> <div class="sectionbody"> -<div class="paragraph"> +<div class="paragraph text-left"> <p><a href="nng_sockaddr.5.html">nng_sockaddr(5)</a>, <a href="nng_ipc.7.html">nng_ipc(7)</a> <a href="nng.7.html">nng(7)</a></p> diff --git a/man/tip/nng_sockaddr_zt.5.html b/man/tip/nng_sockaddr_zt.5.html index 8df68768..d3780507 100644 --- a/man/tip/nng_sockaddr_zt.5.html +++ b/man/tip/nng_sockaddr_zt.5.html @@ -574,7 +574,7 @@ are still considered experimental, and subject to change. <dt class="hdlist1"><code>sa_nwid</code></dt> <dd> <p> -This field holds the ZeroTiero network number (or ID). +This field holds the ZeroTier network number (or ID). This value is in native byte order.</p> </dd> <dt class="hdlist1"><code>sa_nodeid</code></dt> @@ -618,7 +618,7 @@ the Scalability Protocols binding for them. <div class="sect1"> <h2 id="_see_also">SEE ALSO</h2> <div class="sectionbody"> -<div class="paragraph"> +<div class="paragraph text-left"> <p><a href="nng_sockaddr.5.html">nng_sockaddr(5)</a>, <a href="nng_zerotier.7.html">nng_zerotier(7)</a>, <a href="nng.7.html">nng(7)</a></p> diff --git a/man/tip/nng_socket.5.html b/man/tip/nng_socket.5.html index bae1d018..ee532e96 100644 --- a/man/tip/nng_socket.5.html +++ b/man/tip/nng_socket.5.html @@ -589,7 +589,7 @@ before it is opened, to prevent confusion with valid open sockets.</p> <div class="sect1"> <h2 id="_see_also">SEE ALSO</h2> <div class="sectionbody"> -<div class="paragraph"> +<div class="paragraph text-left"> <p><a href="libnng.3.html">libnng(3)</a>, <a href="nng_close.3.html">nng_close(3)</a>, <a href="nng_getopt.3.html">nng_getopt(3)</a>, diff --git a/man/tip/nng_socket_id.3.html b/man/tip/nng_socket_id.3.html index 5663994f..46cc3bf4 100644 --- a/man/tip/nng_socket_id.3.html +++ b/man/tip/nng_socket_id.3.html @@ -548,7 +548,7 @@ Otherwise it returns <code>-1</code>.</p> </td> <td class="content"> A socket is considered valid if it was ever opened with a protocol -constructor, such as the <code><a href="nng_req0_open.3.html">nng_req0_open()</a></code> function. +constructor, such as the <code><a href="nng_req_open.3.html">nng_req0_open()</a></code> function. Sockets that are allocated on the stack or statically should be initialized with the macro <code><a href="nng_socket.5.html#NNG_SOCKET_INITIALIZER">NNG_SOCKET_INITIALIZER</a></code> to ensure that @@ -579,7 +579,7 @@ they cannot be confused with a valid socket before they are opened. <div class="sect1"> <h2 id="_see_also">SEE ALSO</h2> <div class="sectionbody"> -<div class="paragraph"> +<div class="paragraph text-left"> <p><a href="nng_socket.5.html">nng_socket(5)</a>, <a href="nng.7.html">nng(7)</a></p> </div> diff --git a/man/tip/nng_strdup.3.html b/man/tip/nng_strdup.3.html index 8bee2b6d..2b2116c9 100644 --- a/man/tip/nng_strdup.3.html +++ b/man/tip/nng_strdup.3.html @@ -539,7 +539,7 @@ body.book #toc,body.book #preamble,body.book h1.sect0,body.book .sect1>h2{page-b <p>The <code>nng_strdup()</code> duplicates the string <em>src</em> and returns it.</p> </div> <div class="paragraph"> -<p>This is logically equiavlent to using <code><a href="nng_alloc.3.html">nng_alloc()</a></code> +<p>This is logically equivalent to using <code><a href="nng_alloc.3.html">nng_alloc()</a></code> to allocate a region of memory of <code>strlen(s) + 1</code> bytes, and then using <code>strcpy()</code> to copy the string into the destination before returning it.</p> @@ -585,7 +585,7 @@ treated the same as <code>NNG_ENOMEM</code>.</p> <div class="sect1"> <h2 id="_see_also">SEE ALSO</h2> <div class="sectionbody"> -<div class="paragraph"> +<div class="paragraph text-left"> <p><a href="nng_alloc.3.html">nng_alloc(3)</a>, <a href="nng_free.3.html">nng_free(3)</a>, <a href="nng.7.html">nng(7)</a></p> diff --git a/man/tip/nng_strerror.3.html b/man/tip/nng_strerror.3.html index df5f1491..15d6ad74 100644 --- a/man/tip/nng_strerror.3.html +++ b/man/tip/nng_strerror.3.html @@ -581,7 +581,7 @@ by a <code>NUL</code> byte.</p> <div class="sect1"> <h2 id="_see_also">SEE ALSO</h2> <div class="sectionbody"> -<div class="paragraph"> +<div class="paragraph text-left"> <p><a href="libnng.3.html">libnng(3)</a>, <a href="nng.7.html">nng(7)</a></p> </div> diff --git a/man/tip/nng_strfree.3.html b/man/tip/nng_strfree.3.html index 0036b139..aa74e40f 100644 --- a/man/tip/nng_strfree.3.html +++ b/man/tip/nng_strfree.3.html @@ -594,7 +594,7 @@ case, using the length of the original string plus one for the size.) <div class="sect1"> <h2 id="_see_also">SEE ALSO</h2> <div class="sectionbody"> -<div class="paragraph"> +<div class="paragraph text-left"> <p><a href="nng_alloc.3.html">nng_alloc(3)</a>, <a href="nng_free.3.html">nng_free(3)</a>, <a href="nng_strdup.3.html">nng_strdup(3)</a>, diff --git a/man/tip/nng_sub.7.html b/man/tip/nng_sub.7.html index c302c10c..709aac57 100644 --- a/man/tip/nng_sub.7.html +++ b/man/tip/nng_sub.7.html @@ -633,7 +633,7 @@ Note that if the topic was not previously subscribed to with <div class="sect1"> <h2 id="_see_also">SEE ALSO</h2> <div class="sectionbody"> -<div class="paragraph"> +<div class="paragraph text-left"> <p><a href="nng_sub_open.3.html">nng_sub_open(3)</a>, <a href="nng_pub.7.html">nng_pub(7)</a>, <a href="nng.7.html">nng(7)</a></p> diff --git a/man/tip/nng_sub_open.3.html b/man/tip/nng_sub_open.3.html index 036c3444..f8adb985 100644 --- a/man/tip/nng_sub_open.3.html +++ b/man/tip/nng_sub_open.3.html @@ -560,24 +560,32 @@ body.book #toc,body.book #preamble,body.book h1.sect0,body.book .sect1>h2{page-b <div class="sect1"> <h2 id="_errors">ERRORS</h2> <div class="sectionbody"> -<div class="dlist"> -<dl> -<dt class="hdlist1"><code>NNG_ENOMEM</code></dt> -<dd> +<div class="hdlist"> +<table> +<tr> +<td class="hdlist1"> +<code>NNG_ENOMEM</code> +</td> +<td class="hdlist2"> <p>Insufficient memory is available.</p> -</dd> -<dt class="hdlist1"><code>NNG_ENOTSUP</code></dt> -<dd> +</td> +</tr> +<tr> +<td class="hdlist1"> +<code>NNG_ENOTSUP</code> +</td> +<td class="hdlist2"> <p>The protocol is not supported.</p> -</dd> -</dl> +</td> +</tr> +</table> </div> </div> </div> <div class="sect1"> <h2 id="_see_also">SEE ALSO</h2> <div class="sectionbody"> -<div class="paragraph"> +<div class="paragraph text-left"> <p><a href="nng_socket.5.html">nng_socket(5)</a>, <a href="nng_pub.7.html">nng_pub(7)</a>, <a href="nng_sub.7.html">nng_sub(7)</a>, diff --git a/man/tip/nng_surveyor.7.html b/man/tip/nng_surveyor.7.html index e31070fc..b92e62c5 100644 --- a/man/tip/nng_surveyor.7.html +++ b/man/tip/nng_surveyor.7.html @@ -649,7 +649,7 @@ version.)</p> <dt class="hdlist1"><code>NNG_OPT_SURVEYOR_SURVEYTIME</code></dt> <dd> <p>This read/write option is an <code><a href="nng_duration.5.html">nng_duration</a></code> -representing a postive number of milliseconds that following surveys +representing a positive number of milliseconds that following surveys will last. When a new survey is started, a timer of this duration is also started. Any responses arriving this time will be discarded. @@ -670,7 +670,7 @@ There <strong>must</strong> be at least one identifier, the <em>survey ID</em>, last element in the array, and <strong>must</strong> have the most significant bit set.</p> </div> <div class="paragraph"> -<p>There may be additional <em>peer ID</em>s preceeding the survey ID. +<p>There may be additional <em>peer ID</em>s preceding the survey ID. These will be distinguishable from the survey ID by having their most significant bit clear.</p> </div> @@ -709,7 +709,7 @@ survey ID it originally used for the request.</p> <div class="sect1"> <h2 id="_see_also">SEE ALSO</h2> <div class="sectionbody"> -<div class="paragraph"> +<div class="paragraph text-left"> <p><a href="nng_surveyor_open.3.html">nng_surveyor_open(3)</a>, <a href="nng_respondent.7.html">nng_respondent(7)</a>, <a href="nng.7.html">nng(7)</a></p> diff --git a/man/tip/nng_surveyor_open.3.html b/man/tip/nng_surveyor_open.3.html index ad84842d..1206b17e 100644 --- a/man/tip/nng_surveyor_open.3.html +++ b/man/tip/nng_surveyor_open.3.html @@ -561,24 +561,32 @@ version 0 <a href="nng_socket.5.html">socket</a> in <div class="sect1"> <h2 id="_errors">ERRORS</h2> <div class="sectionbody"> -<div class="dlist"> -<dl> -<dt class="hdlist1"><code>NNG_ENOMEM</code></dt> -<dd> +<div class="hdlist"> +<table> +<tr> +<td class="hdlist1"> +<code>NNG_ENOMEM</code> +</td> +<td class="hdlist2"> <p>Insufficient memory is available.</p> -</dd> -<dt class="hdlist1"><code>NNG_ENOTSUP</code></dt> -<dd> +</td> +</tr> +<tr> +<td class="hdlist1"> +<code>NNG_ENOTSUP</code> +</td> +<td class="hdlist2"> <p>The protocol is not supported.</p> -</dd> -</dl> +</td> +</tr> +</table> </div> </div> </div> <div class="sect1"> <h2 id="_see_also">SEE ALSO</h2> <div class="sectionbody"> -<div class="paragraph"> +<div class="paragraph text-left"> <p><a href="nng_socket.5.html">nng_socket(5)</a>, <a href="nng_respondent.7.html">nng_respondent(7)</a>, <a href="nng_surveyor.7.html">nng_surveyor(7)</a>, diff --git a/man/tip/nng_tcp.7.html b/man/tip/nng_tcp.7.html index ee7185fc..5ac7fe68 100644 --- a/man/tip/nng_tcp.7.html +++ b/man/tip/nng_tcp.7.html @@ -696,7 +696,7 @@ The value is of type <code>bool</code> and defaults to <code>true</code>.</p> <div class="sect1"> <h2 id="_see_also">SEE ALSO</h2> <div class="sectionbody"> -<div class="paragraph"> +<div class="paragraph text-left"> <p><a href="nng_sockaddr.5.html">nng_sockaddr(5)</a>, <a href="nng_sockaddr_in.5.html">nng_sockaddr_in(5)</a>, <a href="nng_sockaddr_in6.5.html">nng_sockaddr_in6(5)</a>, diff --git a/man/tip/nng_tcp_register.3.html b/man/tip/nng_tcp_register.3.html index aa7e2ab0..004274bf 100644 --- a/man/tip/nng_tcp_register.3.html +++ b/man/tip/nng_tcp_register.3.html @@ -552,24 +552,32 @@ body.book #toc,body.book #preamble,body.book h1.sect0,body.book .sect1>h2{page-b <div class="sect1"> <h2 id="_errors">ERRORS</h2> <div class="sectionbody"> -<div class="dlist"> -<dl> -<dt class="hdlist1"><code>NNG_ENOMEM</code></dt> -<dd> +<div class="hdlist"> +<table> +<tr> +<td class="hdlist1"> +<code>NNG_ENOMEM</code> +</td> +<td class="hdlist2"> <p>Insufficient memory is available.</p> -</dd> -<dt class="hdlist1"><code>NNG_ENOTSUP</code></dt> -<dd> +</td> +</tr> +<tr> +<td class="hdlist1"> +<code>NNG_ENOTSUP</code> +</td> +<td class="hdlist2"> <p>The transport is not supported.</p> -</dd> -</dl> +</td> +</tr> +</table> </div> </div> </div> <div class="sect1"> <h2 id="_see_also">SEE ALSO</h2> <div class="sectionbody"> -<div class="paragraph"> +<div class="paragraph text-left"> <p><a href="nng_tcp.7.html">nng_tcp(7)</a>, <a href="nng.7.html">nng(7)</a></p> </div> diff --git a/man/tip/nng_thread_create.3supp.html b/man/tip/nng_thread_create.3supp.html index dbb29b08..1614f73b 100644 --- a/man/tip/nng_thread_create.3supp.html +++ b/man/tip/nng_thread_create.3supp.html @@ -635,20 +635,24 @@ Threads can be synchronized using <div class="sect1"> <h2 id="_errors">ERRORS</h2> <div class="sectionbody"> -<div class="dlist"> -<dl> -<dt class="hdlist1"><code>NNG_ENOMEM</code></dt> -<dd> +<div class="hdlist"> +<table> +<tr> +<td class="hdlist1"> +<code>NNG_ENOMEM</code> +</td> +<td class="hdlist2"> <p>Insufficient free memory exists.</p> -</dd> -</dl> +</td> +</tr> +</table> </div> </div> </div> <div class="sect1"> <h2 id="_see_also">SEE ALSO</h2> <div class="sectionbody"> -<div class="paragraph"> +<div class="paragraph text-left"> <p><a href="nng_strerror.3.html">nng_strerror(3)</a>, <a href="nng_cv_alloc.3supp.html">nng_cv_alloc(3supp)</a>, <a href="nng_mtx_alloc.3supp.html">nng_mtx_alloc(3supp)</a>, diff --git a/man/tip/nng_thread_destroy.3supp.html b/man/tip/nng_thread_destroy.3supp.html index 08890e40..6f66a349 100644 --- a/man/tip/nng_thread_destroy.3supp.html +++ b/man/tip/nng_thread_destroy.3supp.html @@ -575,7 +575,7 @@ or a deadlock will occur. <div class="sect1"> <h2 id="_see_also">SEE ALSO</h2> <div class="sectionbody"> -<div class="paragraph"> +<div class="paragraph text-left"> <p><a href="nng_thread_create.3supp.html">nng_thread_create(3supp)</a>, <a href="nng.7.html">nng(7)</a></p> </div> diff --git a/man/tip/nng_tls.7.html b/man/tip/nng_tls.7.html index 70669dd0..9ba38340 100644 --- a/man/tip/nng_tls.7.html +++ b/man/tip/nng_tls.7.html @@ -802,7 +802,7 @@ more details.</p> </dd> <dt class="hdlist1"><code>NNG_OPT_TLS_VERIFIED</code></dt> <dd> -<p>This is a read-only option which returns a boolean value (integer 0 or 1). +<p>This is a read-only option which returns a Boolean value (integer 0 or 1). It will true (1) if the remote peer has been properly verified using TLS authentication, or false (0) otherwise. This option may return incorrect @@ -816,7 +816,7 @@ results if peer authentication is disabled with <code>NNG_TLS_AUTH_MODE_NONE</co <div class="sect1"> <h2 id="_see_also">SEE ALSO</h2> <div class="sectionbody"> -<div class="paragraph"> +<div class="paragraph text-left"> <p><a href="nng_tls_config_alloc.3tls.html">nng_tls_config_alloc(3tls)</a> <a href="nng_sockaddr_in.5.html">nng_sockaddr_in(5)</a>, <a href="nng_sockaddr_in6.5.html">nng_sockaddr_in6(5)</a>, diff --git a/man/tip/nng_tls_config_alloc.3tls.html b/man/tip/nng_tls_config_alloc.3tls.html index 2eb7cf64..397465f9 100644 --- a/man/tip/nng_tls_config_alloc.3tls.html +++ b/man/tip/nng_tls_config_alloc.3tls.html @@ -529,8 +529,8 @@ body.book #toc,body.book #preamble,body.book h1.sect0,body.book .sect1>h2{page-b <span class="tok-cp">#include</span> <span class="tok-cpf"><nng/supplemental/tls/tls.h></span><span class="tok-cp"></span> <span class="tok-k">typedef</span> <span class="tok-k">enum</span> <span class="tok-n">nng_tls_mode</span> <span class="tok-p">{</span> - <span class="tok-n">NNG_TLS_MODE_CLIENT</span><span class="tok-p">,</span> - <span class="tok-n">NNG_TLS_MODE_SERVER</span> + <span class="tok-n">NNG_TLS_MODE_CLIENT</span><span class="tok-p">,</span> + <span class="tok-n">NNG_TLS_MODE_SERVER</span> <span class="tok-p">}</span> <span class="tok-n">nng_tls_mode</span><span class="tok-p">;</span> <span class="tok-kt">int</span> <span class="tok-nf">nng_tls_config_alloc</span><span class="tok-p">(</span><span class="tok-n">nni_tls_config</span> <span class="tok-o">**</span><span class="tok-n">cfgp</span><span class="tok-p">,</span> <span class="tok-n">nng_tls_mode</span> <span class="tok-n">mode</span><span class="tok-p">);</span></code></pre> @@ -554,7 +554,7 @@ depending on the value of <em>mode</em>.</p> </div> <div class="paragraph"> <p>A TLS object can be further modified by functions that set the security -keys used, peeer certificates, protocol policies, and so forth.</p> +keys used, peer certificates, protocol policies, and so forth.</p> </div> <div class="paragraph"> <p>A single TLS configuration object can be used with multiple TLS streams @@ -581,24 +581,32 @@ further changes to the configuration will result in <code>NNG_EBUSY</code>.</p> <div class="sect1"> <h2 id="_errors">ERRORS</h2> <div class="sectionbody"> -<div class="dlist"> -<dl> -<dt class="hdlist1"><code>NNG_ENOMEM</code></dt> -<dd> +<div class="hdlist"> +<table> +<tr> +<td class="hdlist1"> +<code>NNG_ENOMEM</code> +</td> +<td class="hdlist2"> <p>Insufficient memory is available.</p> -</dd> -<dt class="hdlist1"><code>NNG_EINVAL</code></dt> -<dd> +</td> +</tr> +<tr> +<td class="hdlist1"> +<code>NNG_EINVAL</code> +</td> +<td class="hdlist2"> <p>An invalid <em>mode</em> was specified.</p> -</dd> -</dl> +</td> +</tr> +</table> </div> </div> </div> <div class="sect1"> <h2 id="_see_also">SEE ALSO</h2> <div class="sectionbody"> -<div class="paragraph"> +<div class="paragraph text-left"> <p><a href="nng_strerror.3.html">nng_strerror(3)</a>, <a href="nng_tls_config_auth_mode.3tls.html">nng_tls_config_auth_mode(3tls)</a>, <a href="nng_tls_config_ca_chain.3tls.html">nng_tls_config_ca_chain(3tls)</a>, diff --git a/man/tip/nng_tls_config_auth_mode.3tls.html b/man/tip/nng_tls_config_auth_mode.3tls.html index 0a334897..f7244049 100644 --- a/man/tip/nng_tls_config_auth_mode.3tls.html +++ b/man/tip/nng_tls_config_auth_mode.3tls.html @@ -561,7 +561,7 @@ TLS servers, which most typically do not authenticate their clients.</p> <dd> <p>If a certificate is presented by the peer, then it is validated. However, if the peer does not present a valid certificate, -then the sesssion is allowed to proceed without authentication.</p> +then the session is allowed to proceed without authentication.</p> </dd> <dt class="hdlist1"><code>NNG_TLS_AUTH_MODE_REQUIRED</code></dt> <dd> @@ -585,28 +585,40 @@ This is the default for clients.</p> <div class="sect1"> <h2 id="_errors">ERRORS</h2> <div class="sectionbody"> -<div class="dlist"> -<dl> -<dt class="hdlist1"><code>NNG_ENOMEM</code></dt> -<dd> +<div class="hdlist"> +<table> +<tr> +<td class="hdlist1"> +<code>NNG_ENOMEM</code> +</td> +<td class="hdlist2"> <p>Insufficient memory is available.</p> -</dd> -<dt class="hdlist1"><code>NNG_EINVAL</code></dt> -<dd> +</td> +</tr> +<tr> +<td class="hdlist1"> +<code>NNG_EINVAL</code> +</td> +<td class="hdlist2"> <p>An invalid <em>mode</em> was specified.</p> -</dd> -<dt class="hdlist1"><code>NNG_EBUSY</code></dt> -<dd> +</td> +</tr> +<tr> +<td class="hdlist1"> +<code>NNG_EBUSY</code> +</td> +<td class="hdlist2"> <p>The configuration <em>cfg</em> is already in use, and cannot be modified.</p> -</dd> -</dl> +</td> +</tr> +</table> </div> </div> </div> <div class="sect1"> <h2 id="_see_also">SEE ALSO</h2> <div class="sectionbody"> -<div class="paragraph"> +<div class="paragraph text-left"> <p><a href="nng_strerror.3.html">nng_strerror(3)</a>, <a href="nng_tls_config_alloc.3tls.html">nng_tls_config_alloc(3tls)</a>, <a href="nng_tls_config_ca_chain.3tls.html">nng_tls_config_ca_chain(3tls)</a>, diff --git a/man/tip/nng_tls_config_ca_chain.3tls.html b/man/tip/nng_tls_config_ca_chain.3tls.html index 85709fd8..6fbfb530 100644 --- a/man/tip/nng_tls_config_ca_chain.3tls.html +++ b/man/tip/nng_tls_config_ca_chain.3tls.html @@ -591,28 +591,40 @@ certificate revocation list for the associated authority.</p> <div class="sect1"> <h2 id="_errors">ERRORS</h2> <div class="sectionbody"> -<div class="dlist"> -<dl> -<dt class="hdlist1"><code>NNG_ENOMEM</code></dt> -<dd> +<div class="hdlist"> +<table> +<tr> +<td class="hdlist1"> +<code>NNG_ENOMEM</code> +</td> +<td class="hdlist2"> <p>Insufficient memory is available.</p> -</dd> -<dt class="hdlist1"><code>NNG_EBUSY</code></dt> -<dd> +</td> +</tr> +<tr> +<td class="hdlist1"> +<code>NNG_EBUSY</code> +</td> +<td class="hdlist2"> <p>The configuration <em>cfg</em> is already in use, and cannot be modified.</p> -</dd> -<dt class="hdlist1"><code>NNG_EINVAL</code></dt> -<dd> +</td> +</tr> +<tr> +<td class="hdlist1"> +<code>NNG_EINVAL</code> +</td> +<td class="hdlist2"> <p>An invalid <em>chain</em> or <em>crl</em> was supplied.</p> -</dd> -</dl> +</td> +</tr> +</table> </div> </div> </div> <div class="sect1"> <h2 id="_see_also">SEE ALSO</h2> <div class="sectionbody"> -<div class="paragraph"> +<div class="paragraph text-left"> <p><a href="nng_strerror.3.html">nng_strerror(3)</a>, <a href="nng_tls_config_alloc.3tls.html">nng_tls_config_alloc(.3tls)</a>, <a href="nng_tls_config_auth_mode.3tls.html">nng_tls_config_auth_mode(.3tls)</a>, diff --git a/man/tip/nng_tls_config_ca_file.3tls.html b/man/tip/nng_tls_config_ca_file.3tls.html index 024aa4e7..ec00a725 100644 --- a/man/tip/nng_tls_config_ca_file.3tls.html +++ b/man/tip/nng_tls_config_ca_file.3tls.html @@ -586,36 +586,56 @@ to a configuration, without affecting those added previously. <div class="sect1"> <h2 id="_errors">ERRORS</h2> <div class="sectionbody"> -<div class="dlist"> -<dl> -<dt class="hdlist1"><code>NNG_ENOMEM</code></dt> -<dd> +<div class="hdlist"> +<table> +<tr> +<td class="hdlist1"> +<code>NNG_ENOMEM</code> +</td> +<td class="hdlist2"> <p>Insufficient memory is available.</p> -</dd> -<dt class="hdlist1"><code>NNG_EBUSY</code></dt> -<dd> +</td> +</tr> +<tr> +<td class="hdlist1"> +<code>NNG_EBUSY</code> +</td> +<td class="hdlist2"> <p>The configuration <em>cfg</em> is already in use, and cannot be modified.</p> -</dd> -<dt class="hdlist1"><code>NNG_EINVAL</code></dt> -<dd> +</td> +</tr> +<tr> +<td class="hdlist1"> +<code>NNG_EINVAL</code> +</td> +<td class="hdlist2"> <p>The contents of <em>path</em> are invalid or do not contain a valid PEM certificate.</p> -</dd> -<dt class="hdlist1"><code>NNG_ENOENT</code></dt> -<dd> +</td> +</tr> +<tr> +<td class="hdlist1"> +<code>NNG_ENOENT</code> +</td> +<td class="hdlist2"> <p>The file <em>path</em> does not exist.</p> -</dd> -<dt class="hdlist1"><code>NNG_EPERM</code></dt> -<dd> +</td> +</tr> +<tr> +<td class="hdlist1"> +<code>NNG_EPERM</code> +</td> +<td class="hdlist2"> <p>The file <em>path</em> is not readable.</p> -</dd> -</dl> +</td> +</tr> +</table> </div> </div> </div> <div class="sect1"> <h2 id="_see_also">SEE ALSO</h2> <div class="sectionbody"> -<div class="paragraph"> +<div class="paragraph text-left"> <p><a href="nng_strerror.3.html">nng_strerror(3)</a>, <a href="nng_tls_config_alloc.3tls.html">nng_tls_config_alloc(3tls)</a>, <a href="nng_tls_config_auth_mode.3tls.html">nng_tls_config_auth_mode(3tls)</a>, diff --git a/man/tip/nng_tls_config_cert_key_file.3tls.html b/man/tip/nng_tls_config_cert_key_file.3tls.html index e965dff7..dd08454a 100644 --- a/man/tip/nng_tls_config_cert_key_file.3tls.html +++ b/man/tip/nng_tls_config_cert_key_file.3tls.html @@ -574,36 +574,56 @@ to be used for different cryptographic algorithms.</p> <div class="sect1"> <h2 id="_errors">ERRORS</h2> <div class="sectionbody"> -<div class="dlist"> -<dl> -<dt class="hdlist1"><code>NNG_ENOMEM</code></dt> -<dd> +<div class="hdlist"> +<table> +<tr> +<td class="hdlist1"> +<code>NNG_ENOMEM</code> +</td> +<td class="hdlist2"> <p>Insufficient memory is available.</p> -</dd> -<dt class="hdlist1"><code>NNG_EBUSY</code></dt> -<dd> +</td> +</tr> +<tr> +<td class="hdlist1"> +<code>NNG_EBUSY</code> +</td> +<td class="hdlist2"> <p>The configuration <em>cfg</em> is already in use, and cannot be modified.</p> -</dd> -<dt class="hdlist1"><code>NNG_EINVAL</code></dt> -<dd> +</td> +</tr> +<tr> +<td class="hdlist1"> +<code>NNG_EINVAL</code> +</td> +<td class="hdlist2"> <p>The contents of <em>path</em> are invalid.</p> -</dd> -<dt class="hdlist1"><code>NNG_ENOENT</code></dt> -<dd> +</td> +</tr> +<tr> +<td class="hdlist1"> +<code>NNG_ENOENT</code> +</td> +<td class="hdlist2"> <p>The file named by <em>path</em> does not exist.</p> -</dd> -<dt class="hdlist1"><code>NNG_EPERM</code></dt> -<dd> +</td> +</tr> +<tr> +<td class="hdlist1"> +<code>NNG_EPERM</code> +</td> +<td class="hdlist2"> <p>The file named by <em>path</em> cannot be opened.</p> -</dd> -</dl> +</td> +</tr> +</table> </div> </div> </div> <div class="sect1"> <h2 id="_see_also">SEE ALSO</h2> <div class="sectionbody"> -<div class="paragraph"> +<div class="paragraph text-left"> <p><a href="nng_strerror.3.html">nng_strerror(3)</a>, <a href="nng_tls_config_alloc.3tls.html">nng_tls_config_alloc(3tls)</a>, <a href="nng_tls_config_own_cert.3tls.html">nng_tls_config_own_cert(3tls)</a>, diff --git a/man/tip/nng_tls_config_free.3tls.html b/man/tip/nng_tls_config_free.3tls.html index 0b4eefe1..477a8a83 100644 --- a/man/tip/nng_tls_config_free.3tls.html +++ b/man/tip/nng_tls_config_free.3tls.html @@ -562,7 +562,7 @@ reference count is zero, then deallocates the configuration object.</p> <div class="sect1"> <h2 id="_see_also">SEE ALSO</h2> <div class="sectionbody"> -<div class="paragraph"> +<div class="paragraph text-left"> <p><a href="nng_tls_config_alloc.3tls.html">nng_tls_config_alloc(3tls)</a>, <a href="nng.7.html">nng(7)</a></p> </div> diff --git a/man/tip/nng_tls_config_own_cert.3tls.html b/man/tip/nng_tls_config_own_cert.3tls.html index 988691f9..1fe4cc79 100644 --- a/man/tip/nng_tls_config_own_cert.3tls.html +++ b/man/tip/nng_tls_config_own_cert.3tls.html @@ -575,28 +575,40 @@ strings containing <div class="sect1"> <h2 id="_errors">ERRORS</h2> <div class="sectionbody"> -<div class="dlist"> -<dl> -<dt class="hdlist1"><code>NNG_ENOMEM</code></dt> -<dd> +<div class="hdlist"> +<table> +<tr> +<td class="hdlist1"> +<code>NNG_ENOMEM</code> +</td> +<td class="hdlist2"> <p>Insufficient memory is available.</p> -</dd> -<dt class="hdlist1"><code>NNG_EBUSY</code></dt> -<dd> +</td> +</tr> +<tr> +<td class="hdlist1"> +<code>NNG_EBUSY</code> +</td> +<td class="hdlist2"> <p>The configuration <em>cfg</em> is already in use, and cannot be modified.</p> -</dd> -<dt class="hdlist1"><code>NNG_EINVAL</code></dt> -<dd> +</td> +</tr> +<tr> +<td class="hdlist1"> +<code>NNG_EINVAL</code> +</td> +<td class="hdlist2"> <p>An invalid <em>cert</em> or <em>key</em> was supplied.</p> -</dd> -</dl> +</td> +</tr> +</table> </div> </div> </div> <div class="sect1"> <h2 id="_see_also">SEE ALSO</h2> <div class="sectionbody"> -<div class="paragraph"> +<div class="paragraph text-left"> <p><a href="nng_strerror.3.html">nng_strerror(3)</a>, <a href="nng_tls_config_alloc.3tls.html">nng_tls_config_alloc(3tls)</a>, <a href="nng_tls_config_cert_key_file.3tls.html">nng_tls_config_cert_key_file(3tls)</a>, diff --git a/man/tip/nng_tls_config_server_name.3tls.html b/man/tip/nng_tls_config_server_name.3tls.html index 3f55b9d8..8dc8ca8d 100644 --- a/man/tip/nng_tls_config_server_name.3tls.html +++ b/man/tip/nng_tls_config_server_name.3tls.html @@ -570,24 +570,32 @@ This function is only useful in configuring client behavior. <div class="sect1"> <h2 id="_errors">ERRORS</h2> <div class="sectionbody"> -<div class="dlist"> -<dl> -<dt class="hdlist1"><code>NNG_ENOMEM</code></dt> -<dd> +<div class="hdlist"> +<table> +<tr> +<td class="hdlist1"> +<code>NNG_ENOMEM</code> +</td> +<td class="hdlist2"> <p>Insufficient memory is available.</p> -</dd> -<dt class="hdlist1"><code>NNG_EBUSY</code></dt> -<dd> +</td> +</tr> +<tr> +<td class="hdlist1"> +<code>NNG_EBUSY</code> +</td> +<td class="hdlist2"> <p>The configuration <em>cfg</em> is already in use, and cannot be modified.</p> -</dd> -</dl> +</td> +</tr> +</table> </div> </div> </div> <div class="sect1"> <h2 id="_see_also">SEE ALSO</h2> <div class="sectionbody"> -<div class="paragraph"> +<div class="paragraph text-left"> <p><a href="nng_strerror.3.html">nng_strerror(3)</a>, <a href="nng_tls_config_alloc.3tls.html">nng_tls_config_alloc(3tls)</a>, <a href="nng_tls_config_auth_mode.3tls.html">nng_tls_config_auth_mode(3tls)</a>, diff --git a/man/tip/nng_tls_register.3.html b/man/tip/nng_tls_register.3.html index 4bf75e36..ce7096d1 100644 --- a/man/tip/nng_tls_register.3.html +++ b/man/tip/nng_tls_register.3.html @@ -552,24 +552,32 @@ body.book #toc,body.book #preamble,body.book h1.sect0,body.book .sect1>h2{page-b <div class="sect1"> <h2 id="_errors">ERRORS</h2> <div class="sectionbody"> -<div class="dlist"> -<dl> -<dt class="hdlist1"><code>NNG_ENOMEM</code></dt> -<dd> +<div class="hdlist"> +<table> +<tr> +<td class="hdlist1"> +<code>NNG_ENOMEM</code> +</td> +<td class="hdlist2"> <p>Insufficient memory is available.</p> -</dd> -<dt class="hdlist1"><code>NNG_ENOTSUP</code></dt> -<dd> +</td> +</tr> +<tr> +<td class="hdlist1"> +<code>NNG_ENOTSUP</code> +</td> +<td class="hdlist2"> <p>The transport is not supported.</p> -</dd> -</dl> +</td> +</tr> +</table> </div> </div> </div> <div class="sect1"> <h2 id="_see_also">SEE ALSO</h2> <div class="sectionbody"> -<div class="paragraph"> +<div class="paragraph text-left"> <p><a href="nng_tls.7.html">nng_tls(5)</a>, <a href="nng.7.html">nng(7)</a></p> </div> diff --git a/man/tip/nng_url_clone.3.html b/man/tip/nng_url_clone.3.html index 3df76198..7bcddcc2 100644 --- a/man/tip/nng_url_clone.3.html +++ b/man/tip/nng_url_clone.3.html @@ -553,20 +553,24 @@ This clone includes fully duplicating each of the member fields.</p> <div class="sect1"> <h2 id="_errors">ERRORS</h2> <div class="sectionbody"> -<div class="dlist"> -<dl> -<dt class="hdlist1"><code>NNG_ENOMEM</code></dt> -<dd> +<div class="hdlist"> +<table> +<tr> +<td class="hdlist1"> +<code>NNG_ENOMEM</code> +</td> +<td class="hdlist2"> <p>Insufficient free memory exists to duplicate a message.</p> -</dd> -</dl> +</td> +</tr> +</table> </div> </div> </div> <div class="sect1"> <h2 id="_see_also">SEE ALSO</h2> <div class="sectionbody"> -<div class="paragraph"> +<div class="paragraph text-left"> <p><a href="nng_url_free.3.html">nng_url_free(3)</a>, <a href="nng_url_parse.3.html">nng_url_parse(3)</a>, <a href="nng_strerror.3.html">nng_strerror(3)</a>, diff --git a/man/tip/nng_url_free.3.html b/man/tip/nng_url_free.3.html index 79b1a7ef..8be65ba8 100644 --- a/man/tip/nng_url_free.3.html +++ b/man/tip/nng_url_free.3.html @@ -560,7 +560,7 @@ any of its members.</p> <div class="sect1"> <h2 id="_see_also">SEE ALSO</h2> <div class="sectionbody"> -<div class="paragraph"> +<div class="paragraph text-left"> <p><a href="nng_url_clone.3.html">nng_url_clone(3)</a>, <a href="nng_url_parse.3.html">nng_url_parse(3)</a>, <a href="nng.7.html">nng(7)</a></p> diff --git a/man/tip/nng_url_parse.3.html b/man/tip/nng_url_parse.3.html index 9b8849d7..49a4b2f6 100644 --- a/man/tip/nng_url_parse.3.html +++ b/man/tip/nng_url_parse.3.html @@ -555,7 +555,7 @@ is stored in <em>urlp</em>.</p> <span class="tok-kt">char</span> <span class="tok-o">*</span><span class="tok-n">u_rawurl</span><span class="tok-p">;</span> <span class="tok-c1">// Unparsed URL, with minimal canonicalization.</span> <span class="tok-kt">char</span> <span class="tok-o">*</span><span class="tok-n">u_userinfo</span><span class="tok-p">;</span> <span class="tok-c1">// Userinfo component, or NULL.</span> <span class="tok-kt">char</span> <span class="tok-o">*</span><span class="tok-n">u_host</span><span class="tok-p">;</span> <span class="tok-c1">// Full host, including port if present.</span> - <span class="tok-kt">char</span> <span class="tok-o">*</span><span class="tok-n">u_hostname</span><span class="tok-p">;</span> <span class="tok-c1">// Hostname only (or address), or empy string.</span> + <span class="tok-kt">char</span> <span class="tok-o">*</span><span class="tok-n">u_hostname</span><span class="tok-p">;</span> <span class="tok-c1">// Hostname only (or address), or empty string.</span> <span class="tok-kt">char</span> <span class="tok-o">*</span><span class="tok-n">u_port</span><span class="tok-p">;</span> <span class="tok-c1">// Port number, may be default or empty string.</span> <span class="tok-kt">char</span> <span class="tok-o">*</span><span class="tok-n">u_path</span><span class="tok-p">;</span> <span class="tok-c1">// Path if present, empty string otherwise.</span> <span class="tok-kt">char</span> <span class="tok-o">*</span><span class="tok-n">u_query</span><span class="tok-p">;</span> <span class="tok-c1">// Query info if present, NULL otherwise.</span> @@ -636,24 +636,32 @@ Only the <code>u_userinfo</code>, <code>u_query</code>, and <code>u_fragment</co <div class="sect1"> <h2 id="_errors">ERRORS</h2> <div class="sectionbody"> -<div class="dlist"> -<dl> -<dt class="hdlist1"><code>NNG_ENOMEM</code></dt> -<dd> +<div class="hdlist"> +<table> +<tr> +<td class="hdlist1"> +<code>NNG_ENOMEM</code> +</td> +<td class="hdlist2"> <p>Insufficient free memory exists to allocate a message.</p> -</dd> -<dt class="hdlist1"><code>NNG_EINVAL</code></dt> -<dd> +</td> +</tr> +<tr> +<td class="hdlist1"> +<code>NNG_EINVAL</code> +</td> +<td class="hdlist2"> <p>An invalid URL was supplied.</p> -</dd> -</dl> +</td> +</tr> +</table> </div> </div> </div> <div class="sect1"> <h2 id="_see_also">SEE ALSO</h2> <div class="sectionbody"> -<div class="paragraph"> +<div class="paragraph text-left"> <p><a href="nng_url_clone.3.html">nng_url_clone(3)</a>, <a href="nng_url_free.3.html">nng_url_free(3)</a>, <a href="nng_strerror.3.html">nng_strerror(3)</a>, diff --git a/man/tip/nng_version.3.html b/man/tip/nng_version.3.html index 0c17bdb0..52bdc2db 100644 --- a/man/tip/nng_version.3.html +++ b/man/tip/nng_version.3.html @@ -590,7 +590,7 @@ manner depending upon the link options and how the library is built.)</p> <div class="sect1"> <h2 id="_see_also">SEE ALSO</h2> <div class="sectionbody"> -<div class="paragraph"> +<div class="paragraph text-left"> <p><a href="libnng.3.html">libnng(3)</a>, <a href="nng.7.html">nng(7)</a></p> </div> diff --git a/man/tip/nng_ws.7.html b/man/tip/nng_ws.7.html index ce84b417..e1891869 100644 --- a/man/tip/nng_ws.7.html +++ b/man/tip/nng_ws.7.html @@ -762,7 +762,7 @@ results if peer authentication is disabled with <code>NNG_TLS_AUTH_MODE_NONE</co <div class="sect1"> <h2 id="_see_also">SEE ALSO</h2> <div class="sectionbody"> -<div class="paragraph"> +<div class="paragraph text-left"> <p><a href="nng_tls_config_alloc.3tls.html">nng_tls_config_alloc(3tls)</a>, <a href="nng_sockaddr.5.html">nng_sockaddr(5)</a>, <a href="nng_sockaddr_in.5.html">nng_sockaddr_in(5)</a>, diff --git a/man/tip/nng_ws_register.3.html b/man/tip/nng_ws_register.3.html index 9b1ec9ba..0a97e66c 100644 --- a/man/tip/nng_ws_register.3.html +++ b/man/tip/nng_ws_register.3.html @@ -516,7 +516,7 @@ body.book #toc,body.book #preamble,body.book h1.sect0,body.book .sect1>h2{page-b </div> <h2>NAME</h2> <div class="sectionbody"> -<p>nng_ws_register - register websocket transport</p> +<p>nng_ws_register - register WebSocket transport</p> </div> </div> <div id="content"> @@ -552,24 +552,32 @@ body.book #toc,body.book #preamble,body.book h1.sect0,body.book .sect1>h2{page-b <div class="sect1"> <h2 id="_errors">ERRORS</h2> <div class="sectionbody"> -<div class="dlist"> -<dl> -<dt class="hdlist1"><code>NNG_ENOMEM</code></dt> -<dd> +<div class="hdlist"> +<table> +<tr> +<td class="hdlist1"> +<code>NNG_ENOMEM</code> +</td> +<td class="hdlist2"> <p>Insufficient memory is available.</p> -</dd> -<dt class="hdlist1"><code>NNG_ENOTSUP</code></dt> -<dd> +</td> +</tr> +<tr> +<td class="hdlist1"> +<code>NNG_ENOTSUP</code> +</td> +<td class="hdlist2"> <p>The transport is not supported.</p> -</dd> -</dl> +</td> +</tr> +</table> </div> </div> </div> <div class="sect1"> <h2 id="_see_also">SEE ALSO</h2> <div class="sectionbody"> -<div class="paragraph"> +<div class="paragraph text-left"> <p><a href="nng_ws.7.html">nng_ws(7)</a>, <a href="nng.7.html">nng(7)</a></p> </div> diff --git a/man/tip/nng_wss_register.3.html b/man/tip/nng_wss_register.3.html index ac4890a6..cbd170b4 100644 --- a/man/tip/nng_wss_register.3.html +++ b/man/tip/nng_wss_register.3.html @@ -516,7 +516,7 @@ body.book #toc,body.book #preamble,body.book h1.sect0,body.book .sect1>h2{page-b </div> <h2>NAME</h2> <div class="sectionbody"> -<p>nng_ws_register - register websocket secure transport</p> +<p>nng_ws_register - register WebSocket secure transport</p> </div> </div> <div id="content"> @@ -552,24 +552,32 @@ body.book #toc,body.book #preamble,body.book h1.sect0,body.book .sect1>h2{page-b <div class="sect1"> <h2 id="_errors">ERRORS</h2> <div class="sectionbody"> -<div class="dlist"> -<dl> -<dt class="hdlist1"><code>NNG_ENOMEM</code></dt> -<dd> +<div class="hdlist"> +<table> +<tr> +<td class="hdlist1"> +<code>NNG_ENOMEM</code> +</td> +<td class="hdlist2"> <p>Insufficient memory is available.</p> -</dd> -<dt class="hdlist1"><code>NNG_ENOTSUP</code></dt> -<dd> +</td> +</tr> +<tr> +<td class="hdlist1"> +<code>NNG_ENOTSUP</code> +</td> +<td class="hdlist2"> <p>The transport is not supported.</p> -</dd> -</dl> +</td> +</tr> +</table> </div> </div> </div> <div class="sect1"> <h2 id="_see_also">SEE ALSO</h2> <div class="sectionbody"> -<div class="paragraph"> +<div class="paragraph text-left"> <p><a href="nng_ws.7.html">nng_ws(7)</a>, <a href="nng.7.html">nng(7)</a></p> </div> diff --git a/man/tip/nng_zerotier.7.html b/man/tip/nng_zerotier.7.html index 918cc071..c458c513 100644 --- a/man/tip/nng_zerotier.7.html +++ b/man/tip/nng_zerotier.7.html @@ -731,7 +731,7 @@ can store (and reuse) persistent state, such as key materials, node identity, and federation membership. This option must be set before the ZeroTier transport is first used. If this value is empty, then an ephemeral ZeroTier node is created, -nd no persistent state is used. +and no persistent state is used. The default is to use an ephemeral node.</p> <div class="admonitionblock note"> <table> @@ -867,7 +867,7 @@ this has no effect.</p> <div class="sect1"> <h2 id="_see_also">SEE ALSO</h2> <div class="sectionbody"> -<div class="paragraph"> +<div class="paragraph text-left"> <p><a href="nng_sockaddr_zt.5.html">nng_sockaddr_zt(5)</a>, <a href="nng.7.html">nng(7)</a></p> </div> diff --git a/man/tip/nng_zt_register.3.html b/man/tip/nng_zt_register.3.html index 4dbce020..3614c7f4 100644 --- a/man/tip/nng_zt_register.3.html +++ b/man/tip/nng_zt_register.3.html @@ -552,24 +552,32 @@ body.book #toc,body.book #preamble,body.book h1.sect0,body.book .sect1>h2{page-b <div class="sect1"> <h2 id="_errors">ERRORS</h2> <div class="sectionbody"> -<div class="dlist"> -<dl> -<dt class="hdlist1"><code>NNG_ENOMEM</code></dt> -<dd> +<div class="hdlist"> +<table> +<tr> +<td class="hdlist1"> +<code>NNG_ENOMEM</code> +</td> +<td class="hdlist2"> <p>Insufficient memory is available.</p> -</dd> -<dt class="hdlist1"><code>NNG_ENOTSUP</code></dt> -<dd> +</td> +</tr> +<tr> +<td class="hdlist1"> +<code>NNG_ENOTSUP</code> +</td> +<td class="hdlist2"> <p>The transport is not supported.</p> -</dd> -</dl> +</td> +</tr> +</table> </div> </div> </div> <div class="sect1"> <h2 id="_see_also">SEE ALSO</h2> <div class="sectionbody"> -<div class="paragraph"> +<div class="paragraph text-left"> <p><a href="nng_zerotier.7.html">nng_zerotier(7)</a>, <a href="nng.7.html">nng(7)</a></p> </div> diff --git a/man/tip/nngcat.1.html b/man/tip/nngcat.1.html index e6dc7946..e4874d10 100644 --- a/man/tip/nngcat.1.html +++ b/man/tip/nngcat.1.html @@ -526,7 +526,7 @@ body.book #toc,body.book #preamble,body.book h1.sect0,body.book .sect1>h2{page-b </div> <h2>NAME</h2> <div class="sectionbody"> -<p>nngcat - command line access to Scalabity Protocols</p> +<p>nngcat - command line access to Scalability Protocols</p> </div> </div> <div id="content"> @@ -706,7 +706,7 @@ messages from <a href="nng_push.7.html"><em>push</em></a> version 0 peers.</p> </dd> <dt class="hdlist1"><strong>--pair0</strong></dt> <dd> -<p>Select the <a href="nng_pair.7.html"><em>pair</em></a> veresion 0 protocol. +<p>Select the <a href="nng_pair.7.html"><em>pair</em></a> version 0 protocol. This protocol can send and receive messages with one connected <em>pair</em> version 0 peer.</p> </dd> @@ -733,7 +733,7 @@ version 0 peers, and then receives replies from them.</p> <dt class="hdlist1"><strong>--respondent, --respondent0</strong></dt> <dd> <p>Select the <a href="nng_respondent.7.html"><em>respondent</em></a> version 0 protocol. -This protocol receives survey requests from <nng_surveyor.7#,<em>surveyor</em>>> +This protocol receives survey requests from <a href="nng_surveyor.7.html"><em>surveyor</em></a> version 0 peers, and can send a reply to them.</p> </dd> </dl> @@ -802,48 +802,12 @@ as <strong>--connect</strong>=tcp://127.0.0.1:<em>PORT</em>.</p> <div class="sect2"> <h3 id="_receive_options">Receive Options</h3> <div class="paragraph"> -<p>Data messages received can be formatted in different ways. These -options can only be specified when using a protocol that receives messages.</p> +<p>Data messages received can be formatted in different ways. +These options can only be specified when using a protocol that +receives messages.</p> </div> <div class="dlist"> <dl> -<dt class="hdlist1"><strong>--format</strong>=<em>FORMAT</em></dt> -<dd> -<p>Format data as indicated. The <em>FORMAT</em> can be any of:<br></p> -<div class="dlist"> -<dl> -<dt class="hdlist1"><code>no</code></dt> -<dd> -<p>No output at all.</p> -</dd> -<dt class="hdlist1"><code>raw</code></dt> -<dd> -<p>Raw output, every byte received is sent to standard output.</p> -</dd> -<dt class="hdlist1"><code>ascii</code></dt> -<dd> -<p>ASCII safe, printable ASCII is emitted verbatim, with other bytes -substituted with <code>.</code> (period).</p> -</dd> -<dt class="hdlist1"><code>quoted</code></dt> -<dd> -<p>Messages are printed as quoted strings, using C language conventions.</p> -</dd> -<dt class="hdlist1"><code>hex</code></dt> -<dd> -<p> Messages are printed as quoted strings, with every byte appearing -as an escaped hexadecimal value, such as <code>\x2E</code>.</p> -</dd> -<dt class="hdlist1"><code>msgpack</code></dt> -<dd> -<p> - -Messages are emitted as <a href="https://msgpack.org">MessagePack</a> "bin format" -(byte arrays).</p> -</dd> -</dl> -</div> -</dd> <dt class="hdlist1"><strong>-A, --ascii</strong></dt> <dd> <p>The same as specifying <strong>--format</strong>=<code>ascii</code>.</p> @@ -876,6 +840,42 @@ Messages larger than this will be discarded. The default is 1048576 (1 MB). To eliminate any restriction, use 0.</p> </dd> +<dt class="hdlist1"><strong>--format</strong>=<em>FORMAT</em></dt> +<dd> +<p>Format data as indicated. The <em>FORMAT</em> can be any of:</p> +<div class="dlist"> +<dl> +<dt class="hdlist1"><code>no</code></dt> +<dd> +<p>No output at all.</p> +</dd> +<dt class="hdlist1"><code>raw</code></dt> +<dd> +<p>Raw output, every byte received is sent to standard output.</p> +</dd> +<dt class="hdlist1"><code>ascii</code></dt> +<dd> +<p>ASCII safe, printable ASCII is emitted verbatim, with other +bytes substituted with <code>.</code> (period).</p> +</dd> +<dt class="hdlist1"><code>quoted</code></dt> +<dd> +<p>Messages are printed as quoted strings, using C language +conventions.</p> +</dd> +<dt class="hdlist1"><code>hex</code></dt> +<dd> +<p> Messages are printed as quoted strings, with every byte appearing as an escaped hexadecimal value, such as <code>\x2E</code>.</p> +</dd> +<dt class="hdlist1"><code>msgpack</code></dt> +<dd> +<p> +Messages are emitted as <a href="https://msgpack.org">MessagePack</a> "bin format" +(byte arrays).</p> +</dd> +</dl> +</div> +</dd> </dl> </div> </div> @@ -932,7 +932,7 @@ when using addresses that are not secured with TLS.</p> <dt class="hdlist1"><strong>--key</strong>=<em>FILE</em></dt> <dd> <p>Load own key from <em>FILE</em>. -Should be used in conjuction with <strong>--cert</strong>. +Should be used in conjunction with <strong>--cert</strong>. If not specified, and <strong>--cert</strong> is specified, then a single file containing both the private key and the associated certificate is assumed.</p> </dd> @@ -992,7 +992,7 @@ $ nngcat --sub --dial<span class="tok-o">=</span><span class="tok-si">${</span>< <div class="sect1"> <h2 id="_see_also">SEE ALSO</h2> <div class="sectionbody"> -<div class="paragraph"> +<div class="paragraph text-left"> <p><a href="libnng.3.html">libnng(3)</a>, <a href="nng.7.html">nng(7)</a>, <a href="nng_bus.7.html">nng_bus(7)</a>, |
