[PHP] RE: [PHP-WIN] servers in php

2004-03-15 Thread BrokenClock
You may use fork wiht cygPHP, see this recent mail on the mailing-list.
 -Message d'origine-
 De : [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
 Envoyé : lundi 1 mars 2004 13:39
 À : [EMAIL PROTECTED]
 Objet : [PHP-WIN] Re: Process Control Functions (PCNTL)


 Brokenclock wrote on 1/03/04 12:55:
  Hello list,
 
  Could anyone tell me if the Process Control Functions (PCNTL :
  http://www.php.net/manual/en/ref.pcntl.php) will be available
 or something
  like those, one day or another, for PHP for Windows?
 
  Thanks and regards,
 
  BrokenClock


 Hi,
 Haven't used this myself, but according to that page in the manual's
 user notes (luca dot mariano at email dot it 12-Nov-2003 06:49) there
 does exist a PHP-CLI (version 4.3.3) for Win32 with experimental support
 built-in for:
 - pcntl
 - posix
 - sysvmsg
 - sysvsem
 - sysvshm

 http://phplet.sf.net/modules.php?name=Web_Linksl_op=visitlid=4

 Bibiep - sf


 -Message d'origine-
 De : Comex [mailto:[EMAIL PROTECTED]
 Envoyé : dimanche 14 mars 2004 01:07
 À : [EMAIL PROTECTED]; [EMAIL PROTECTED]
 Objet : [PHP-WIN] servers in php


 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



[PHP] Re: [PHP-WIN] servers in php

2004-03-13 Thread Robert Twitty
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