From 2dc3a335c1074aff797fcb8c8a6cc755c46ea805 Mon Sep 17 00:00:00 2001
From: gdamore struct nn_cmsghdr eq
NN_IPV4ONLYNone Use URL such as tcp4:// to obtain this functionality.NN_SOCKET_NAMENNG_OPT_SOCKNAME
+NN_MAXTTLNNG_OPT_MAXTTL
+NN_SUB_SUBSCRIBEnng_sub0_socket_subscribeNo longer an option, use a function call. NN_SUB_UNSUBSCRIBEnng_sub0_socket_unsubscribeNo longer an option, use a function call. Error Codes
diff --git a/ref/migrate/nng1.html b/ref/migrate/nng1.html
index 9ea6163d..a3f7477d 100644
--- a/ref/migrate/nng1.html
+++ b/ref/migrate/nng1.html
@@ -301,6 +301,11 @@ Note that the new functions provide a reference to a static string, and thus do
allocation, and the returned strings should not be freed. Also the IDs are provided as uint16_t,
matching the actual wire protocol values, instead of int.
The NNG_OPT_RAW option has aso been replaced by a function, nng_socket_raw.
The NNG_OPT_SUB_SUBSCRIBE and NNG_OPT_SUB_UNSUBCRIBE options have been replaced by
+the following functions: nng_sub0_socket_subscribe, nng_sub0_socket_unsubscribe,
+nng_sub0_ctx_subscribe and nng_sub0_ctx_unsubscribe. These functions, like the options
+they replace, are only applicable to SUB sockets.
A number of the statistics functions take, or return, const nng_stat * instead
of plain nng_stat *. The ABI has not changed, but it may be necessary to declare
--
cgit v1.2.3-70-g09d2