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
I think you should change the line int tNumSocketsReady = select(1, &tSet, NULL, NULL, &tTimeout); by int tNumSocketsReady = select( tSocketFD+1, &tSet, NULL, NULL, &tTimeout); If not, the descriptor you are selecting on may be totally wrong, so your select() doesn´t works. -Ori