From 1aac7a31f55658ee13914238c09cd323fce681ae Mon Sep 17 00:00:00 2001 From: gdamore Date: Tue, 31 Dec 2024 22:40:58 +0000 Subject: deploy: b56a1d17ce1c531a8ae05b0d93eaf761bea1476f --- ref/migrate/nng1.html | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'ref/migrate/nng1.html') diff --git a/ref/migrate/nng1.html b/ref/migrate/nng1.html index 032bed7d..f64ae3ea 100644 --- a/ref/migrate/nng1.html +++ b/ref/migrate/nng1.html @@ -229,9 +229,10 @@ See the Migrating From libnanomsg chapter for details

Library Initialization

It is now required for applications to initialize the library explicitly before using it. This is done using the nng_init function.

-

Socket Close Function Renamed

+

Renamed Functions

The nng_close function has been renamed to nng_socket_close to make it clearer that -the object being closed is a socket.

+the object being closed is a socket. A compatible nng_close macro is available by defining NNG1_TRANSITION +in your compilation environment.

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