socket_recv
| From: | Tim Streater | Date: | Thu, 17 Nov 2011 19:03:00 +0000 |
| Subject: | socket_recv | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-315731@lists.php.net to get a copy of this message | ||
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