[PHP] problems re-reading from socket

2006-11-24 Thread Martin Marques
I have a daemon class which reads and answers using socket_read and socket_write functions. The things is that I connect to the daemon, sent a chain and the I get an answer, but after that the daemon get's struck in the next socket_read. The problem appears to be here (a method from my class).

Re: [PHP] problems re-reading from socket

2006-11-24 Thread Richard Lynch
On Fri, November 24, 2006 1:21 pm, Martin Marques wrote: I have a daemon class which reads and answers using socket_read and socket_write functions. The things is that I connect to the daemon, sent a chain and the I get an answer, but after that the daemon get's struck in the next socket_read.

Re: [PHP] problems re-reading from socket

2006-11-24 Thread Martin Marques
On Fri, 24 Nov 2006 13:41:59 -0600 (CST), Richard Lynch [EMAIL PROTECTED] wrote: On Fri, November 24, 2006 1:21 pm, Martin Marques wrote: I have a daemon class which reads and answers using socket_read and socket_write functions. The things is that I connect to the daemon, sent a chain and