<possible heresy> The first parameter to select() on Windows is actually ignored. We should zap the logic that does the Unix-style computation of listenmaxfd and just pass in INVALID_SOCKET or 0, and add a comment that the value is ignored. </possible heresy>
No heresy, MSDN doc clearly says the first parm is ignored so it doesn't matter what we set it to. For clarification I can add a comment and set it to zero.
Thanks, Allan