Take a look at the socket functions, with special attention to
socket_listen() and socket_accept(). AFAIK, this may be a bit beyond the
scope of PHP on windows.  Even if you successfully call the program
from itself, you will not be able to pass the connection to the cloned
program.  Your server may only be able to serve a single client.  New
clients would then be back logged.  This may not be a problem for very
short service times and low traffic.

-- bob

On Sat, 13 Mar 2004, Comex wrote:

> I was wondering how to go about making a server in PHP that would accept
> multiple connections..in windows, so I can't use forks.  I'd need to call
> the program from itself but I don't know how the listening works.
>
> --
> PHP Windows Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
>
>

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to