diff options
| author | Garrett D'Amore <garrett@damore.org> | 2024-11-17 11:40:37 -0800 |
|---|---|---|
| committer | Garrett D'Amore <garrett@damore.org> | 2024-11-17 11:40:37 -0800 |
| commit | 48d0c0340f16b580443b3aba53c8bf618572fa6a (patch) | |
| tree | f10a3118ee0d0351fef52ab877b03dea2fb38de5 /docs/ref/migrate/nng1.md | |
| parent | 84ea0eed023c4da5d430422c3c245ced19517bdf (diff) | |
| download | nng-48d0c0340f16b580443b3aba53c8bf618572fa6a.tar.gz nng-48d0c0340f16b580443b3aba53c8bf618572fa6a.tar.bz2 nng-48d0c0340f16b580443b3aba53c8bf618572fa6a.zip | |
remove NNG_OPT_SOCKNAME (and socket names altogether)
This functionality was provided principally for libnanomsg compatibility.
This saves some memory and eliminates some pointless functionality.
While here, updated the socket options documentation to remove references
to options already removed.
Diffstat (limited to 'docs/ref/migrate/nng1.md')
| -rw-r--r-- | docs/ref/migrate/nng1.md | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/docs/ref/migrate/nng1.md b/docs/ref/migrate/nng1.md index 2a1456b7..7bafb8f5 100644 --- a/docs/ref/migrate/nng1.md +++ b/docs/ref/migrate/nng1.md @@ -136,6 +136,9 @@ The `NNG_OPT_RAW` option has aso been replaced by a function, [`nng_socket_raw`] The `NNG_OPT_SENDFD` and `NNG_OPT_RECVFD` options have been replaced by [`nng_socket_get_send_poll_fd`] and [`nng_socket_get_recv_poll_fd`] respectively. +The `NNG_OPT_SOCKNAME` function is removed. This was provided for application use, and never used internally by NNG. +Applications should keep track of this information separately. + ## Subscriptions The `NNG_OPT_SUB_SUBSCRIBE` and `NNG_OPT_SUB_UNSUBCRIBE` options have been replaced by |
