Cross-platform portability: excellent reason. As long as OpenSSL is everywhere you need it to be, this is a great reason.
OpenSSL isn't everywhere we needed it, but we had a portable socket library that is. We buried SSL handling inside of that; using SSL where supported and customer chooses it, not using it where we can't. BIOs looked really cool and useful to me. I'm still looking for an implementation opportunity. DaveMclellan -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Thomas J. Hruska Sent: Sunday, June 26, 2005 10:08 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 whenever someone uses the pre-built Win32 OpenSSL Installation Project binaries and they have difficulties. Using BIOs in terms of sockets is generally not needed because socket handles tend to be process global compatable under most OSes whereas FILE *'s are typically local module compatable only. Thomas Hruska ______________________________________________________________________ OpenSSL Project http://www.openssl.org User Support Mailing List openssl-users@openssl.org Automated List Manager [EMAIL PROTECTED] ______________________________________________________________________ OpenSSL Project http://www.openssl.org User Support Mailing List openssl-users@openssl.org Automated List Manager [EMAIL PROTECTED]