Steve Thompson wrote:
On Thu, 13 Sep 2007, Victor Duchovni wrote:

On Wed, Sep 12, 2007 at 11:48:42PM -0700, David Schwartz wrote:


    /* This is just one of the tests I have tried */
         FD_ZERO(&rfds);
         FD_SET(acceptSock, &rfds);
         FD_ZERO(&wfds);
         FD_SET(acceptSock, &wfds);
         FD_ZERO(&rfds);
         FD_SET(acceptSock, &efds);
         do {
             /* see if we have any activity on the socket */
waitVal = select(acceptSock, &rfds, &wfds, &efds, &tv);

What happens when you pass 'select' fd sets that make sense and set the
first parameter appropriately?

i.e.    (acceptSock + 1) not (acceptSock).

And the FD_xxx inside the select loop?
DOH!  Good point!!

-steve
______________________________________________________________________
OpenSSL Project                                 http://www.openssl.org
User Support Mailing List [email protected] Automated List Manager [EMAIL PROTECTED]


______________________________________________________________________
OpenSSL Project                                 http://www.openssl.org
User Support Mailing List                    [email protected]
Automated List Manager                           [EMAIL PROTECTED]

Reply via email to