Re: [PHP] signal handling

2006-12-08 Thread Jochem Maas
Aras wrote: Hello Despite all of my results to succeed, i can not make this work. What i want to do is to write a simple socket server in PHP. My current example just prints the same character, you send to server from keyboard. It is successfull in forking, and generates child as people

Re: [PHP] signal handling

2006-12-08 Thread Roman Neuhauser
# [EMAIL PROTECTED] / 2006-12-02 02:01:35 +0200: Hello Despite all of my results to succeed, i can not make this work. What i want to do is to write a simple socket server in PHP. My current example just prints the same character, you send to server from keyboard. It is successfull in

Re: [PHP] signal handling

2006-12-08 Thread Jochem Maas
Roman Neuhauser wrote: # [EMAIL PROTECTED] / 2006-12-02 02:01:35 +0200: Hello Despite all of my results to succeed, i can not make this work. What i want to do is to write a simple socket server in PHP. My current example just prints the same character, you send to server from keyboard. It

Re: [PHP] signal handling

2006-12-08 Thread Stut
Jochem Maas wrote: Roman Neuhauser wrote: The parent needs to wait(2) for its children. http://php.net/pcntl_wait have I understood correctly that using pcntl_wait() means you can't do anything in the parent process until all children are dead? this seems strange. probably I'm

Re: [PHP] signal handling

2006-12-08 Thread Roman Neuhauser
# [EMAIL PROTECTED] / 2006-12-08 15:36:52 +0100: Roman Neuhauser wrote: # [EMAIL PROTECTED] / 2006-12-02 02:01:35 +0200: [...] to write a simple socket server in PHP. My current example just prints the same character, you send to server from keyboard. It is successfull in forking, and

[PHP] signal handling

2006-12-08 Thread Mustafa Aras Koktas
. -Original Message- From: Roman Neuhauser [mailto:[EMAIL PROTECTED] Sent: Friday, December 08, 2006 7:02 PM To: Jochem Maas Cc: php-general@lists.php.net Subject: Re: [PHP] signal handling # [EMAIL PROTECTED] / 2006-12-08 15:36:52 +0100: Roman Neuhauser wrote: # [EMAIL PROTECTED

[PHP] signal handling

2006-12-01 Thread Aras
Hello Despite all of my results to succeed, i can not make this work. What i want to do is to write a simple socket server in PHP. My current example just prints the same character, you send to server from keyboard. It is successfull in forking, and generates child as people connect. However in

[PHP] Signal handling

2002-10-07 Thread Geranium
Is signal handling broken in PHP 4.3-cvs? I've set up some handlers as per the docs, but nothing happens when I send appropriate signals. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php