>On Tue 10/04/12 10:36 AM , [email protected] sent:
>Am using OpenSSL for one of my TCP application and can someone explain how to
>retrieve the source IP ( of the >machine ) from which the SSL connection is
>established.
>
>Am using openssl-0.9.8a version.
>
I would say:
int fd = SSL_get_fd(const SSL *ssl);
and then
getpeername( fd, addr, &addr_len );
Carl
______________________________________________________________________
OpenSSL Project http://www.openssl.org
User Support Mailing List [email protected]
Automated List Manager [email protected]