Re: Sockets

From: Date: Tue, 07 May 2002 22:00:53 +0000
Subject: Re: Sockets
References: 1 2  Groups: php.dev 
Request: Send a blank email to php-dev+get-83804@lists.php.net to get a copy of this message
I posted a sort-of example for a blocking socket server using socket_select(). It should get you on your way. Note that the example was written two months ago, so there may need to be a few changes. (One of which is the socket_select() call -- change the null arguments for the exceptfds and writefds to $null or something, as socket_select() now wants arrays, period, no nulls or constants.) Also note the lack of error checking. It is just an example, after all. http://marc.theaimsgroup.com/?l=php-dev&m=101561785202033&w=2 J Brad Lafountain wrote: > Ok.. ive been looking at that... > > Did someone post up a non_blocking/selecting socket server... > > I can't get things to work out for me. > > - Brad > --- Markus Fischer <mfischer@guru.josefine.at> wrote: >> Hi, >> >> I took my spare time and documented some of the common used >> once in the PHP manual (as it is generated right now on >> php.net). >> >> - Markus >>

« previous php.dev (#83804) next »