Re: Sockets problem

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Thanks for the answer.
In the meantime I've managed to solve the problem be removing the
pcntl_wait call. Actually I think this is a bug, because as I
understand things pcntl_wait shouldn't block the main process, but I
don't have experience with either sockets or Unix process, so I might
be wrong.

On 3/21/07, Richard Lynch <ceo@xxxxxxxxx> wrote:
On Tue, March 20, 2007 8:27 am, Adrian Gheorghe wrote:
> I've sent a bug report earlier and it got marked as bogus, so I
> decided to ask here about a possible solution. You can see the bug
> report at http://bugs.php.net/bug.php?id=40864

Looks like a pretty cogent bug report to me...

Perhaps Tony would like to see the same script in non-fork
single-connection mode on the same server, to prove that the
ports/firewalls/etc are not at fault.

Or, perhaps, there's something inherently wrong with that script...

I'd also suggest taking out the 'fork' business and just opening up
two sockets in two scripts, to remove the pcntl (possible) red herring
-- boil it down to absolute minimum.

--
Some people have a "gift" link here.
Know what I want?
I want you to buy a CD from some starving artist.
http://cdbaby.com/browse/from/lynch
Yeah, I get a buck. So?



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


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux