On Wed, 12 Mar 2003, Sean Hamilton wrote:

> What is the first parameter to select(2) for? Microsoft's select ignores it,
> and it does not appear to have any valid use since it only allows
> constraints on values which are assigned by the system.
> 
> Purely historic?

Winsock uses the integer array for fd_set instead of the bit array
as Unices do. Winsock socket's numbers are big enough, for example
I saw on NT as first created socket has number 96 and second has 42.
Bitmask is not effective for such numbers.


Igor Sysoev
http://sysoev.ru/en/


To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-hackers" in the body of the message

Reply via email to