int sk;
BIO_get_fd(bio,&sk);
getpeername(sk,&address,&address_len);
On Jan 19, 2004, at 4:44 PM, Zac Hansen wrote:
I'm trying to figure out how to get the client address/port when using
BIOs to accept new connections.
__
OpenSS
I'm trying to figure out how to get the client address/port when using
BIOs to accept new connections.
I guess I can use normal accept() to od this, but I already have
everything else written and working and I'd rather not go back and mess
with it if there's an easy way I'm missing.
Thanks.