Re: determining incoming connection address using BIOs

2004-01-19 Thread Joseph Bruni
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

determining incoming connection address using BIOs

2004-01-19 Thread Zac Hansen
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.