On Tue, Jun 28, 2005, Joe Santapau wrote:
> Thanks one and all,
>
> I had priviously used a socket BIO, but now I think I'll use accept() get
> what I need, and then populate it into a SSL * it might give me
> flexability
> with the socket itself, timeouts and the like.
>
You can stick to BIO
Thanks one and all,
I had priviously used a socket BIO, but now I think I'll use accept() get
what I need, and then populate it into a SSL * it might give me
flexability
with the socket itself, timeouts and the like.
Thanks,
Joe S.
_
PM
To: openssl-users@openssl.org
Subject: Re: Getting sockaddr_in structures from a BIO or SSL struct.
mclellan, dave wrote:
> Unless you have a specific reason to use BIOs, you can do a regular
accept()
Typical reason to use BIOs: Cross-platform portability. I recommend
using BIOs wheneve
mclellan, dave wrote:
Unless you have a specific reason to use BIOs, you can do a regular accept()
Typical reason to use BIOs: Cross-platform portability. I recommend
using BIOs whenever someone uses the pre-built Win32 OpenSSL
Installation Project binaries and they have difficulties.
Usi
Unless you have a specific reason to use BIOs, you can do a regular accept()
and use the socket and sockaddr_in from its return. Do whatever you want
with the sockaddr_in. The socket returned by accept() is input to the
SSL_set_fd to associate it with an SSL from SSL_new(). Then later, you
would