On Thu, Sep 13, 2007 at 02:09:20PM -0400, Jim Marshall wrote:
> >>Pardon my ignorance, but why do you need to specify acceptSock+1? I
> >>tried this and it fixed the problem, but I don't understand why.
> >
> >This is described in the select() manpage.
> >
> So it is:
> "nfds is the highest-numbered file descriptor in any of the three sets,
> plus 1"
>
> When I read this I didn't realize I had to add one to the socket, I
> thought the select call would deal with that :O. Thanks for the insight,
> I really appreciate your help!
You are telling select *how-many* bits of the bitmask to use, not the
highest numbered fd.
--
Viktor.
______________________________________________________________________
OpenSSL Project http://www.openssl.org
User Support Mailing List [email protected]
Automated List Manager [EMAIL PROTECTED]