This is the mail archive of the cygwin@sources.redhat.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: select() on more than 64 fds



Hi.

Try -> setdtablesize().

bisk

Begin forwarded message:

Mailing-List: contact cygwin-help@sourceware.cygnus.com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe@sources.redhat.com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin@sources.redhat.com>
List-Help: <mailto:cygwin-help@sources.redhat.com>,  
<http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner@sources.redhat.com
Delivered-To: mailing list cygwin@sources.redhat.com
Date: Thu, 7 Sep 2000 09:53:49 -0700 (PDT)
From: Barnali <gbarnali@yahoo.com>
Subject: select() on more than 64 fds
To: cygwin@sources.redhat.com

hi,
what exactly is the limitation on select() ? I need
to have as many as a couple of thousand sockets open
and call select() on them. is this at all possible ?
the header seems to indicate that I can redefine a
constant to increase the size of fd_set from the
default of 64. if I do this should I recompile the
cygwin dll with the new value ?
also how much of a performance hit does cygwin
select take as compared to an equivalent winsock
function doing a similar job (large no. of sockets)
thanks in advance,

barnali

__________________________________________________
Do You Yahoo!?
Yahoo! Mail - Free email you can access from anywhere!
http://mail.yahoo.com/

--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe@sourceware.cygnus.com



--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe@sourceware.cygnus.com


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]