On Nov 17, 2011, at 14:03, Tim Streater <t...@clothears.org.uk> 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