Re: socket_select() problems?

From: Date: Sun, 02 Jun 2002 14:33:47 +0000
Subject: Re: socket_select() problems?
References: 1  Groups: php.dev 
Request: Send a blank email to php-dev+get-84695@lists.php.net to get a copy of this message
Yeah, I guess so. It just isn't very clear how this is mapped to PHP in the current docs. I will write up some better docs. -Rasmus On Sun, 2 Jun 2002 derick@php.net wrote: > On Sat, 1 Jun 2002, Rasmus Lerdorf wrote: > > > So you save the original array of sockets to pass back in. This is why > > the C API has FD_ISSET() to check the result of a select(). I really > > don't like this current behaviour of socket_select(). It will confuse the > > hell out of anybody coming at this from a C background. > > I always thought the C select() function also mangles the sets: > > (from 'man select') > > On exit, the sets are modified in place to indicate which > descriptors actually changed status. > > > regards, > Derick > > > On Sun, 2 Jun 2002, Philip Olson wrote: > > > > > I only get [0], never [1]. Did about 40 tries. > > > > > > latest CVS > > > ./configure --enable-sockets > > > > > > If you need more info, let me know. > > > > > > Regards, > > > Philip Olson > > > > > > > > > > > > > > > -- > > PHP Development Mailing List <http://www.php.net/> > > To unsubscribe, visit: http://www.php.net/unsub.php > > > > --------------------------------------------------------------------------- > Did I help you? > http://www.jdimedia.nl/derick/link.php?url=giftlist > Frequent ranting: http://www.jdimedia.nl/derick/ > --------------------------------------------------------------------------- > PHP: Scripting the Web - derick@php.net > All your branches are belong to me! > SRM: Script Running Machine - www.vl-srm.net > --------------------------------------------------------------------------- > > > -- > PHP Development Mailing List <http://www.php.net/> > To unsubscribe, visit: http://www.php.net/unsub.php >

« previous php.dev (#84695) next »