Re: servers in php

From: Date: Sun, 14 Mar 2004 01:43:29 +0000
Subject: Re: servers in php
References: 1  Groups: php.general php.windows 
Request: Send a blank email to php-general+get-180369@lists.php.net to get a copy of this message
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 > > >

« previous php.general (#180369) next »