Note: select() on win32 will ignore maxfd.