Apostolos Syropoulos <[email protected]> wrote:

> > 
> > Mmmm, is there a problem with having a fdset array size of 8 kB?
> > 
> > Note that select() will not work for more FD's than FD_SETSIZE.
> > 
>
>
> Actually it might be a problem, because if it is 8kB, then one may ask
> to increase to say 16, 32, or even 64kb, which is the current value
> and causes so much trouble...

???? FD_SETSIZE is the predefined value compiled into select().

As we have 8 bits per byte, the size of an array (==> the type fd_set)
will be 8 kB for FD_SETSIZE == 65336 

Jörg

-- 
 EMail:[email protected] (home) Jörg Schilling D-13353 Berlin
       [email protected]                (uni)  
       [email protected] (work) Blog: 
http://schily.blogspot.com/
 URL:  http://cdrecord.berlios.de/private/ ftp://ftp.berlios.de/pub/schily

_______________________________________________
Discuss mailing list
[email protected]
http://lists.illumos.org/m/listinfo/discuss

Reply via email to