Re: [PHP] socket_recv

2011-11-17 Thread Mike Mackintosh
On Nov 17, 2011, at 14:03, Tim Streater wrote: > I'm playing around with web sockets and have found a couple of simple servers > written in PHP. They both appear to perform the initial handshake with a > client but then just give up because socket_recv reports that there is no > data. I'm conf

Re: [PHP] socket_recv

2006-10-29 Thread Ed Lazor
Depends on the volume and type of data that you're working with. It also depends on the type of connection between the server and client. Slower connections, unreliable connections, or general data, use smaller packets. Reliable connection or higher volumes of data, use larger packets.