diff options
| author | Garrett D'Amore <garrett@damore.org> | 2024-11-02 23:54:27 -0700 |
|---|---|---|
| committer | Garrett D'Amore <garrett@damore.org> | 2024-11-02 23:54:27 -0700 |
| commit | 02ec0b55cbee5de4d0fd688ce0ebddf08178dc98 (patch) | |
| tree | 6cb65f860f8f9992b14139f52bf065c48f7b5a58 /docs/ref/migrate/nng1.md | |
| parent | 8bac5ccdf1de7334311459b9e2666e74a2c16c15 (diff) | |
| download | nng-02ec0b55cbee5de4d0fd688ce0ebddf08178dc98.tar.gz nng-02ec0b55cbee5de4d0fd688ce0ebddf08178dc98.tar.bz2 nng-02ec0b55cbee5de4d0fd688ce0ebddf08178dc98.zip | |
Replace `NNG_OPT_RAW` with `nng_socket_raw`.
Similar to the other identities, this simplifies code a bit.
Diffstat (limited to 'docs/ref/migrate/nng1.md')
| -rw-r--r-- | docs/ref/migrate/nng1.md | 2 |
1 files changed, 2 insertions, 0 deletions
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 |
