diff options
| author | gdamore <gdamore@users.noreply.github.com> | 2025-01-01 21:32:27 +0000 |
|---|---|---|
| committer | gdamore <gdamore@users.noreply.github.com> | 2025-01-01 21:32:27 +0000 |
| commit | a1d9a36f2746250d8ee9ec51645f917f42bb1687 (patch) | |
| tree | afc2da785301810640223afce9793b414a75d198 /ref/print.html | |
| parent | 69bcd1d0babc5ab10a84555f29523d4f02119f67 (diff) | |
| download | nng-a1d9a36f2746250d8ee9ec51645f917f42bb1687.tar.gz nng-a1d9a36f2746250d8ee9ec51645f917f42bb1687.tar.bz2 nng-a1d9a36f2746250d8ee9ec51645f917f42bb1687.zip | |
deploy: 8294f8993d10385e8470ce8270a8bf64047b8b07
Diffstat (limited to 'ref/print.html')
| -rw-r--r-- | ref/print.html | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/ref/print.html b/ref/print.html index c6027f55..73ead35e 100644 --- a/ref/print.html +++ b/ref/print.html @@ -6431,6 +6431,24 @@ This is done using the <a href="migrate//api/init.html#initialization"><code>nng <p>The <code>nng_close</code> function has been renamed to <a href="migrate//api/sock.html#closing-a-socket"><code>nng_socket_close</code></a> to make it clearer that the object being closed is a socket. A compatible <code>nng_close</code> macro is available by defining <code>NNG1_TRANSITION</code> in your compilation environment.</p> +<h2 id="removed-protocol-aliases"><a class="header" href="#removed-protocol-aliases">Removed Protocol Aliases</a></h2> +<p>The following macro aliases are removed, unless <code>NNG1_TRANSITION</code> is defined in your compilation environment.</p> +<ul> +<li><code>nng_bus_open</code></li> +<li><code>nng_pair_open</code></li> +<li><code>nng_pub_open</code></li> +<li><code>nng_pull_open</code></li> +<li><code>nng_push_open</code></li> +<li><code>nng_rep_open</code></li> +<li><code>nng_req_open</code></li> +<li><code>nng_respondent_open</code></li> +<li><code>nng_sub_open</code></li> +<li><code>nng_surveyor_open</code></li> +</ul> +<p>Just add either <code>0</code> or <code>1</code> (in the case of PAIRv1) to get the protocol desired. (Forcing the version number to +be supplied should avoid surprises later as new versions of protocols are added.)</p> +<p>Additionally, the header files for protocols are now empty, as all of their content has been moved to <code>nng/nng.h</code>. +Please remove <code>#include</code> references to protocol headers as we anticipate removing them in the future.</p> <h2 id="new-aio-error-code-nng_estopped"><a class="header" href="#new-aio-error-code-nng_estopped">New AIO Error Code NNG_ESTOPPED</a></h2> <p>When an operation fails with <a href="migrate//api/errors.html#NNG_ESTOPPED"><code>NNG_ESTOPPED</code></a>, it means that the associated [<code>nni_aio</code>] object has been permanently stopped and must not be reused. Applications must watch for this error code, and |
