On July 29, 2004 02:20 pm, Joseph Bruni wrote:
> The other thing I noticed was that (according to the man page for
> select()) the results of the FD_ macros are undefined if the descriptor
> value is greater than FD_SETSIZE, which is 1024 on my system. I find
> this odd since the hard limit of the number of files any given process
> can have open is kern.maxfilesperproc = 10240. Is this a limitation of
> the POSIX API or could the man page for select() be wrong? Does anyone
> have any insight into the proper use of select() if the descriptor
> values are larger than FD_SETSIZE? Or maybe some other function that
> replaces select() for programs with LOTS of descriptors?

I don't know which system you're runing, but perhaps you might have more 
luck with poll(2)?

Cheers,
Geoff
-- 
Geoff Thorpe
[EMAIL PROTECTED]
http://www.geoffthorpe.net/

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

Reply via email to