I’m new to socket stuff, here is my piece of code: client read method is just: Nothing will be executed after $status = $this->client->read(), untill socket_read() reads new data. I would like to stop socket_read() acting like waiting for data to read or call socket_read() only when there is any data to read. I couldn’t get any idea, how to
Tag: phpwebsocket
Multiple Socket Connection Using PHP
I have made a socket connection using php which is working perfectly below is the code for single socket but not working with multiple connections only accepts one connection at a time error_reporting(…
Reconnection of Client when server reboots in WebSocket
I am using web socket using PHP5 and the Chrome browser as client. I have taken the code from the site http://code.google.com/p/phpwebsocket/. I run the server, and the client is also connected. I …