RE: How do session accept timeout with OpenSSL

2012-08-17 Thread Dave Thompson
> From: owner-openssl-us...@openssl.org On Behalf Of CharlesTSR > Sent: Tuesday, 14 August, 2012 17:12 You've already followed-up with some, but a few more points: > I am porting an existing Windows-based TCP/IP server > (receive-only, not a Web server) to OpenSSL. > > The way it works with TCP

Re: How do session accept timeout with OpenSSL

2012-08-16 Thread Holger Weiß
* Charles Mills [2012-08-15 17:31]: > Every OpenSSL example I have seen uses BIO, but there is no need to use > BIO, right (unless one wants I/O-type-independence). That's right, though the socket BIO methods also abstract away quite a few obscure platform specifics. > I have eliminated all of m

RE: How do session accept timeout with OpenSSL

2012-08-15 Thread Charles Mills
Okay, I think I get it. Every OpenSSL example I have seen uses BIO, but there is no need to use BIO, right (unless one wants I/O-type-independence)? I have eliminated all of my BIO usage. I'm using normal TCP/IP bind(), select(), accept(), and then SSL_set_fd(ssl, socket) and SSL_accept(); I then