Re: Multi-threaded port listener
| From: | Richard Lynch | Date: | Sat, 29 Apr 2006 07:34:30 +0000 |
| Subject: | Re: Multi-threaded port listener | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-235071@lists.php.net to get a copy of this message | ||
On Fri, April 28, 2006 3:23 pm, René Fournier wrote:
> Anyone find any good tutorials, code samples, etc. on such a thing?
> Basically, I want to write server (in PHP) that listeners on a
> particular port, and spins off a thread/process (essentially, execute
> a separate script) for each incoming connection. There won't be a lot
> of data to process, but there will be many simultaneous connections
> upwards of 1000s of connections (each spun off as seperate threads).
http://php.net/fork
--
Like Music?
http://l-i-e.com/artists.htm