From 1d69c8f0393337d4f222cc1af1af813d77922c84 Mon Sep 17 00:00:00 2001 From: Garrett D'Amore Date: Mon, 27 Oct 2025 07:11:12 -0700 Subject: 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. --- src/nng.c | 6 ------ 1 file changed, 6 deletions(-) (limited to 'src/nng.c') diff --git a/src/nng.c b/src/nng.c index 82b1eb91..0b1c2f56 100644 --- a/src/nng.c +++ b/src/nng.c @@ -791,12 +791,6 @@ nng_dialer_get_ms(nng_dialer id, const char *n, nng_duration *v) return (dialer_get(id, n, v, NULL, NNI_TYPE_DURATION)); } -int -nng_dialer_get_addr(nng_dialer id, const char *n, nng_sockaddr *v) -{ - return (dialer_get(id, n, v, NULL, NNI_TYPE_SOCKADDR)); -} - int nng_dialer_get_tls(nng_dialer id, nng_tls_config **cfgp) { -- cgit v1.2.3-70-g09d2