FWIW, I did a little plumbing regarding select and FD_SETSIZE when packaging x2x. The thread preceeding this post might be of some interest...

http://www.cygwin.com/ml/cygwin-xfree/2002-07/msg00607.html

From: Alexander Gottwald <[EMAIL PROTECTED]>
Reply-To: [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
CC: [EMAIL PROTECTED]
Subject: FD_SETSIZE and select
Date: Tue, 3 Feb 2004 22:07:27 +0100 (MET)

Hi,

The Cygwin/X source uses the assumption that FD_SETSIZE == 256 in many places.
I'm currently adding a -DFD_SETSIZE=256 to the build commandline but I'm
not sure if this has any sideeffects.


Is select() capable of handling other sizes than 64 which is set in sys/types.h?

bye
ago
BTW: please keep the cc to cygwin-xfree since I'm only monitoring that list and
I'd like the others there be informed too.
--
[EMAIL PROTECTED]
http://www.gotti.org ICQ: 126018723

_________________________________________________________________
Let the new MSN Premium Internet Software make the most of your high-speed experience. http://join.msn.com/?pgmarket=en-us&page=byoa/prem&ST=1




Reply via email to