On Mon, 2002-06-03 at 23:07, Jason Greene wrote:
> That is the most common mistake when using select() (Arguments are
> value-result) I think this motivated the different behavior of the
> poll() call.
> 
> There probably should be a large blurb in the docs to help out with this
> one.

I just noticed there is a notice now, oh well. This is what i get for
getting behind with my email. 

-Jason

> -Jason
> 
> 
> On Sun, 2002-06-02 at 09:33, Rasmus Lerdorf wrote:
> > 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 [EMAIL PROTECTED] 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 - [EMAIL PROTECTED]
> > >                     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
> > >
> > 
> > 
> > -- 
> > PHP Development Mailing List <http://www.php.net/>
> > To unsubscribe, visit: http://www.php.net/unsub.php
> > 
> 
> 
> 
> -- 
> PHP Development Mailing List <http://www.php.net/>
> To unsubscribe, visit: http://www.php.net/unsub.php
> 



-- 
PHP Development Mailing List <http://www.php.net/>
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to