Even better. How about making the usec parameter optional in socket_select(), and if the sec parameter is NULL, pass NULL to select() instead of tv? That would make the syntax of select() with a NULL timeout pretty much the same as socket_select() with a NULL timeout, minus the first maxfd parameter in select() of course.
J Markus Fischer wrote: > On Fri, Oct 05, 2001 at 06:38:41PM -0000, [EMAIL PROTECTED] wrote : >> Unfortunately, at the same time, this creates an >> incompatibility between socket_select() and system >> select(), since socket_select() will no longer produce the >> same results as calling select() with tv_sec = -1 and >> tv_usec = -1, but I don't think that's much of a problem. > > I think it should be perfectly valid to pass NULL and detect > this in socket_select() so sec/user still can be -1. Lets see > what others think. > > - Markus > -- PHP Development Mailing List <http://www.php.net/> To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]