Re: [PHP] Socket connection reset by pear

2005-05-06 Thread =?iso-8859-1?q?Mart=EDn_Marqu=E9s?=
OK, I found the error. Aparently, the message that I was sending didn't have a newline at the end, and so socket_read on the other end failed to complete it's task, and finds it self with a conection reset by pear when the client tries to write something else. I found out when looking at the

Re: [PHP] Socket connection reset by pear

2005-05-06 Thread Richard Lynch
On Thu, May 5, 2005 5:20 am, Martín Marqués said: I'm trying to build some communication aside of the server thin client stuff, with a socket daemon and a socket client. The daemon is the same that everybody can find in the PHP docs (example 1). The client simply opens a connection to the

Re: [PHP] Socket connection reset by pear

2005-05-06 Thread =?iso-8859-1?q?Mart=EDn_Marqu=E9s?=
El Vie 06 May 2005 01:50, Richard Lynch escribió: On Thu, May 5, 2005 5:20 am, Martín Marqués said: I'm trying to build some communication aside of the server thin client stuff, with a socket daemon and a socket client. The daemon is the same that everybody can find in the PHP docs

[PHP] Socket connection reset by pear

2005-05-05 Thread =?iso-8859-1?q?Mart=EDn_Marqu=E9s?=
I'm trying to build some communication aside of the server thin client stuff, with a socket daemon and a socket client. The daemon is the same that everybody can find in the PHP docs (example 1). The client simply opens a connection to the daemon and writes data using the socket Object from