RE: SSL_read, non-blocking sockets, and Windows.

2000-10-09 Thread James Gaskell
m: Pablo J. Royo [mailto:[EMAIL PROTECTED]] |Sent: 09 October 2000 9:52 AMj |To: [EMAIL PROTECTED] |Subject: Re: SSL_read, non-blocking sockets, and Windows. | | |I think you should change the line | |int tNumSocketsReady = select(1, &tSet, NULL, NULL, &tTimeout); | | by | |int tNumSoc

Re: SSL_read, non-blocking sockets, and Windows.

2000-10-09 Thread Pablo J. Royo
() doesn´t works. -Original Message- From: James Gaskell <[EMAIL PROTECTED]> To: 'SSLU' <[EMAIL PROTECTED]> Date: lunes 9 de octubre de 2000 10:33 Subject: SSL_read, non-blocking sockets, and Windows. >Hi. > >I'm just starting out with the OpenSSL library,

SSL_read, non-blocking sockets, and Windows.

2000-10-09 Thread James Gaskell
Hi. I'm just starting out with the OpenSSL library, and I've got a problem that I don't know how to fix. I'm trying to read data using SSL_read() from a non-blocking socket on a Windows machine. The problem is that when the SSL_read returns SSL_ERROR_WANT_READ, I don't know how to wait for da