aboutsummaryrefslogtreecommitdiff
path: root/src/sp/transport/ipc/ipc_test.c
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 /src/sp/transport/ipc/ipc_test.c
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 'src/sp/transport/ipc/ipc_test.c')
-rw-r--r--src/sp/transport/ipc/ipc_test.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/src/sp/transport/ipc/ipc_test.c b/src/sp/transport/ipc/ipc_test.c
index 3131e774..d550592a 100644
--- a/src/sp/transport/ipc/ipc_test.c
+++ b/src/sp/transport/ipc/ipc_test.c
@@ -67,9 +67,6 @@ test_ipc_dialer_properties(void)
NUTS_ADDR(addr, "ipc");
NUTS_OPEN(s);
NUTS_PASS(nng_dial(s, addr, &d, NNG_FLAG_NONBLOCK));
- // Dialers don't have local addresses.
- NUTS_FAIL(nng_dialer_get_addr(d, NNG_OPT_LOCADDR, &sa), NNG_ENOTSUP);
- NUTS_FAIL(nng_dialer_set_addr(d, NNG_OPT_LOCADDR, &sa), NNG_ENOTSUP);
z = 8192;
NUTS_PASS(nng_dialer_set_size(d, NNG_OPT_RECVMAXSZ, z));