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).

-- 
        Viktor.
______________________________________________________________________
OpenSSL Project                                 http://www.openssl.org
User Support Mailing List                    openssl-users@openssl.org
Automated List Manager                           [EMAIL PROTECTED]

Reply via email to