Re: socket_recv

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Nov 17, 2011, at 14:03, Tim Streater <tim@xxxxxxxxxxxxxxxx> 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 confused by this as, the handshake being complete, I wouldn't expect there to be any data if the client hasn't sent any. Is there a way to wait with timeout on data showing up at a socket?
> 
> --
> Cheers  --  Tim
> 
> -- 
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php

Any indication if the socket is in blocking mode or not?
-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php




[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux