Re: [PHP] Multi-threaded port listener

2006-04-29 Thread D. Dante Lorenso
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

Re: [PHP] Multi-threaded port listener

2006-04-29 Thread Richard Lynch
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

Re: [PHP] Multi-threaded port listener

2006-04-28 Thread Edwin Barrios
Hi. If you want a separate script execution, you can use inetd o xinetd to listen for you that port. When inetd got a connection execute your php script, one execution by connection. I think that it is more usefull to create your own responser server with php using forks !. But using inetd has

Re: [PHP] Multi-threaded port listener

2006-04-28 Thread Alister Bulman
On 28/04/06, René Fournier <[EMAIL PROTECTED]> 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 conne

[PHP] Multi-threaded port listener

2006-04-28 Thread René Fournier
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,