From a1d9a36f2746250d8ee9ec51645f917f42bb1687 Mon Sep 17 00:00:00 2001 From: gdamore Date: Wed, 1 Jan 2025 21:32:27 +0000 Subject: deploy: 8294f8993d10385e8470ce8270a8bf64047b8b07 --- ref/migrate/nng1.html | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) (limited to 'ref/migrate/nng1.html') diff --git a/ref/migrate/nng1.html b/ref/migrate/nng1.html index 4dac6c5e..925351a6 100644 --- a/ref/migrate/nng1.html +++ b/ref/migrate/nng1.html @@ -233,6 +233,24 @@ This is done using the nng_initThe nng_close function has been renamed to nng_socket_close to make it clearer that the object being closed is a socket. A compatible nng_close macro is available by defining NNG1_TRANSITION in your compilation environment.

+

Removed Protocol Aliases

+

The following macro aliases are removed, unless NNG1_TRANSITION is defined in your compilation environment.

+ +

Just add either 0 or 1 (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.)

+

Additionally, the header files for protocols are now empty, as all of their content has been moved to nng/nng.h. +Please remove #include references to protocol headers as we anticipate removing them in the future.

New AIO Error Code NNG_ESTOPPED

When an operation fails with NNG_ESTOPPED, it means that the associated [nni_aio] object has been permanently stopped and must not be reused. Applications must watch for this error code, and -- cgit v1.2.3-70-g09d2