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
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
confused by this as, the handshake being complete, I wouldn't
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.
Is there a reccomended size of data to pull in with socket_recv (Such as
1024) or can I pull in 981132487 and it wont make a difference? Thanks
in advance.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
4 matches
Mail list logo