From 02ec0b55cbee5de4d0fd688ce0ebddf08178dc98 Mon Sep 17 00:00:00 2001 From: Garrett D'Amore Date: Sat, 2 Nov 2024 23:54:27 -0700 Subject: Replace `NNG_OPT_RAW` with `nng_socket_raw`. Similar to the other identities, this simplifies code a bit. --- docs/ref/migrate/nng1.md | 2 ++ 1 file changed, 2 insertions(+) (limited to 'docs/ref/migrate') diff --git a/docs/ref/migrate/nng1.md b/docs/ref/migrate/nng1.md index 39968277..3004b880 100644 --- a/docs/ref/migrate/nng1.md +++ b/docs/ref/migrate/nng1.md @@ -78,6 +78,8 @@ 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`. + ## Statistics Use Constified Pointers A number of the statistics functions take, or return, `const nng_stat *` instead -- cgit v1.2.3-70-g09d2