> -----Original Message----- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On Behalf Of > Spitzer, Andy (BL60:9D30) > Sent: Friday, November 07, 2008 8:52 AM > To: [email protected] > Subject: [sipX-dev] Use of FD_SET and select() in int > OsProcessLinux::getOutput > > Woof! > > FD_SET fails when the fd number is greater than 1023. Many > processes can easily have more than this number of file > descriptors open, and so using "select(2)" is not a good > idea. One should use "poll(2)" instead. > > --Woof!
Can you give a reference for that? I don't see any such limit on the man page... granted that it might be an issue on some platforms but not others (so much for a standard). I do find some old (2002) references to a limit in google, but on FC6 or FC8, 32 or 64bit, there is no mention of a limit or bug on the man page. Carolyn _______________________________________________ sipx-dev mailing list [email protected] List Archive: http://list.sipfoundry.org/archive/sipx-dev Unsubscribe: http://list.sipfoundry.org/mailman/listinfo/sipx-dev
