aboutsummaryrefslogtreecommitdiff
path: root/docs/ref/migrate/nanomsg.md
diff options
context:
space:
mode:
authorGarrett D'Amore <garrett@damore.org>2024-11-17 13:34:58 -0800
committerGarrett D'Amore <garrett@damore.org>2024-11-17 13:34:58 -0800
commitff66ec5f43547abc78b22ebcdfad32e2775bc9cb (patch)
treef92d0ad15cbb1ee8470226a436ef0403c9d49b2e /docs/ref/migrate/nanomsg.md
parent48d0c0340f16b580443b3aba53c8bf618572fa6a (diff)
downloadnng-ff66ec5f43547abc78b22ebcdfad32e2775bc9cb.tar.gz
nng-ff66ec5f43547abc78b22ebcdfad32e2775bc9cb.tar.bz2
nng-ff66ec5f43547abc78b22ebcdfad32e2775bc9cb.zip
tcp/tls: Remove support for local interface address in dialer URLs
This was an undocumented capability provided for libnanomsg. The correct way to obtain the same functionality is to use `NNG_OPT_LOCADDR`.
Diffstat (limited to 'docs/ref/migrate/nanomsg.md')
-rw-r--r--docs/ref/migrate/nanomsg.md7
1 files changed, 7 insertions, 0 deletions
diff --git a/docs/ref/migrate/nanomsg.md b/docs/ref/migrate/nanomsg.md
index bb668121..66add9b2 100644
--- a/docs/ref/migrate/nanomsg.md
+++ b/docs/ref/migrate/nanomsg.md
@@ -121,4 +121,11 @@ There are some exceptions. Be aware that the numeric values are _not_ the same.
| `EMFILE` | [`NNG_ENOFILES`] |
| `ENOSPC` | [`NNG_ENOSPC`] |
+## Local Addresses for Dialing
+
+The ability to specify the source address in the UROL,to use when
+using `nn_dial` inside the URL is not present in NNG. The correct
+way to specify the local address is using the `NNG_OPT_LOCADDR` option on the
+dialer before starting to dial.
+
{{#include ../xref.md}}