From e6bd9414990a3d0e5995768e1b8b846eff80a14d Mon Sep 17 00:00:00 2001
From: gdamore nng_dialer_set or nng_listener_set option. This likely means that it is necessary
to allocate and configure the endpoint before attaching it to the socket. This will
also afford a much more fine-grained level of control over transport options.
The NNG_OPT_PROTO, NNG_OPT_PROTONAME, NNG_OPT_PEER, and NNG_OPT_PEERNAME options
+have been replaced by functions instead of options.
+Use nng_socket_proto_id, nng_socket_peer_id, nng_socket_proto_name, and nng_socket_peer_name instead.
+Note that the new functions provide a reference to a static string, and thus do not require
+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.
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