Hi,
I have implemented a client/server SSL connection
in my application using a BIO stack, I mean, first I created a BIO socket and
after that I push on it a BIO SSL.
Connection between client and server is ok and
works correctly, but I can not get the client IP from server side.
I tried with BIO_get_conn_ip in this form (at a
glance):
BIO_do_accept(SSL_BIO_accept_server)
SSL_BIO_connected_client=BIO_pop(SSL_BIO_accept_server);
ipString=BIO_get_conn_ip(SSL_BIO_connected_client);
,but "BIO_get_conn_ip" returns always
NULL.
I have been looking for others
functions/macros like "BIO_get_conn_ip" but I did not find
anything.
Does anyone know a function to obtain
this?
Thanks in advance
Fernando Moya Bernal
University of Malaga
Spain.
|
- Re: Get IP from the peer Fernando Moya
- Re: Get IP from the peer Dr. Stephen Henson
- Re: Get IP from the peer Fernando Moya