From 03fabdf697d1fd19708d8c8a618c7ecb712ae64e Mon Sep 17 00:00:00 2001 From: gdamore Date: Tue, 31 Dec 2024 21:44:58 +0000 Subject: deploy: b0874b1dad787c32093a3ff81311e2d638dc6538 --- ref/migrate/nanomsg.html | 2 +- ref/migrate/nng1.html | 3 +++ 2 files changed, 4 insertions(+), 1 deletion(-) (limited to 'ref/migrate') diff --git a/ref/migrate/nanomsg.html b/ref/migrate/nanomsg.html index 96996b40..dda27f32 100644 --- a/ref/migrate/nanomsg.html +++ b/ref/migrate/nanomsg.html @@ -245,7 +245,7 @@ NNG approach to messages. Likewise there is no struct nn_cmsghdr eq nn_strerrornng_strerror nn_errnoNoneErrors are returned directly rather than through errno. nn_socketVariousUse the appropriate protocol constructor, such as nng_req0_open. -nn_closenng_close +nn_closenng_socket_close nn_bindnng_listen, nng_listener_createAllocating a listener with nng_lister_create and configuring it offers more capabilities. nn_connectnng_dial, nng_dialer_createAllocating a dialer with nng_dialer_create and configuring it offers more capabilities. nn_shutdownnng_lister_close, nng_dialer_close diff --git a/ref/migrate/nng1.html b/ref/migrate/nng1.html index 28065353..032bed7d 100644 --- a/ref/migrate/nng1.html +++ b/ref/migrate/nng1.html @@ -229,6 +229,9 @@ 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

+

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

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