Select returns -1. A perror on select() said: select: : Bad file number (That's a copy and paste. perror("select: "); ) Any idea? - SJ - For help on using this list (especially unsubscribing), send a message to "gnu-win32-request@cygnus.com" with one line of text: "help".