how to determine peeraddr from quic connection
gustafn <[email protected]> Thu, 25 Sep 2025 09:01:02 -0700 (PDT)
| Newsgroups | gmane.comp.encryption.openssl.user |
|---|---|
| Message-ID | <[email protected]> |
when accepting a new quic connection
SSL *conn = SSL_accept_connection(listener_ssl, 0);
how can i determine the peer address (sockaddr) for conn?
It would be nice to have something like
int SSL_get_peer_addr(SSL *ssl,
struct sockaddr *restrict addr,
socklen_t *restrict addrlen);
or
int SSL_get_peer_addr(SSL *ssl, BIO_ADDR *peer_addr);
using recvfrom(.... MSG_PEEK...) can't be the solution.
I have the feeling, i have missed something essential in the documentation
All the best -g
--
You received this message because you are subscribed to the Google Groups "openssl-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to openssl-users+unsubscribe-MCmKBN63+Bmbup2nOX2J7Q@public.gmane.org
To view this discussion visit https://groups.google.com/a/openssl.org/d/msgid/openssl-users/9827cf3a-fae0-4b13-af8c-7fc26d2fed5cn%40openssl.org.