aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorGarrett D'Amore <garrett@damore.org>2025-10-27 07:11:12 -0700
committerGarrett D'Amore <garrett@damore.org>2025-10-27 07:14:46 -0700
commit1d69c8f0393337d4f222cc1af1af813d77922c84 (patch)
treec34e9d40924ff288125e229904a6371edbebd5f7 /include
parentbe13c2e8845423cec17af429fc4e16a5d9749e47 (diff)
downloadnng-1d69c8f0393337d4f222cc1af1af813d77922c84.tar.gz
nng-1d69c8f0393337d4f222cc1af1af813d77922c84.tar.bz2
nng-1d69c8f0393337d4f222cc1af1af813d77922c84.zip
Remove the ability to get sockaddrs from endpoints.
There is no valid use for this, once we added the ability to query the bound port.
Diffstat (limited to 'include')
-rw-r--r--include/nng/nng.h5
1 files changed, 1 insertions, 4 deletions
diff --git a/include/nng/nng.h b/include/nng/nng.h
index 66745dbe..9978915e 100644
--- a/include/nng/nng.h
+++ b/include/nng/nng.h
@@ -834,8 +834,7 @@ NNG_DECL nng_listener nng_pipe_listener(nng_pipe);
// to be used after starting the listener in combination with a wildcard
// (0) local port. This determines the actual ephemeral port that was
// selected and bound. The value is provided as an int, but in practice
-// port numbers are only 16-bits. This is provided in native byte order,
-// which makes it more convenient than using the NNG_OPT_LOCADDR option.
+// port numbers are only 16-bits.
#define NNG_OPT_BOUND_PORT "bound-port"
// UDP options.
@@ -1177,8 +1176,6 @@ NNG_DECL nng_err nng_stream_dialer_get_uint64(
nng_stream_dialer *, const char *, uint64_t *);
NNG_DECL nng_err nng_stream_dialer_get_string(
nng_stream_dialer *, const char *, const char **);
-NNG_DECL nng_err nng_stream_dialer_get_addr(
- nng_stream_dialer *, const char *, nng_sockaddr *);
NNG_DECL nng_err nng_stream_dialer_set_bool(
nng_stream_dialer *, const char *, bool);
NNG_DECL nng_err nng_stream_dialer_set_int(