Re: Getting sockaddr_in structures from a BIO or SSL struct.

2005-06-29 Thread Dr. Stephen Henson
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

Re: Getting sockaddr_in structures from a BIO or SSL struct.

2005-06-28 Thread Joe Santapau
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. _

RE: Getting sockaddr_in structures from a BIO or SSL struct.

2005-06-27 Thread mclellan, dave
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

Re: Getting sockaddr_in structures from a BIO or SSL struct.

2005-06-26 Thread Thomas J. Hruska
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

RE: Getting sockaddr_in structures from a BIO or SSL struct.

2005-06-26 Thread mclellan, dave
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