Re[2]: [PHP] socket_write buffer problem

2007-01-21 Thread Richard Luckhurst
Hi Jochem, JM> I would start by reading the relevant page: JM> http://php.net/socket_write JM> after reading that your first attempt will probably be this JM> (you may have complication is your using a multibyte charset): As I had said in my earlier post I had already read the php manu

Re[2]: [PHP] socket_write buffer problem

2007-01-21 Thread Richard Luckhurst
Hi Jochem, JM> I would start by reading the relevant page: JM> http://php.net/socket_write JM> after reading that your first attempt will probably be this JM> (you may have complication is your using a multibyte charset): As I had said in my earlier post I had already read the php manu

Re: [PHP] socket_write buffer problem

2007-01-21 Thread Jochem Maas
Richard Luckhurst wrote: > Hi List > > I am working with an application that has to run as a socket listener. It > receives a string from another application on a certain socket and then does > some processing and then passes the result back to the client application via > the socket. Here is the

[PHP] socket_write buffer problem

2007-01-21 Thread Richard Luckhurst
Hi List I am working with an application that has to run as a socket listener. It receives a string from another application on a certain socket and then does some processing and then passes the result back to the client application via the socket. Here is the listener code I am using while(true)