Hi, I am using web socket using PHP5 and chrome browser as client. I have taken the code from this site (http://code.google.com/p/phpwebsocket/)
I run the server and client is also connected. I can chat as well. Now when I restart the server ( by killing it and starting it again ). Client gets the disconnected information but automatically doesn't reconnect with server when I send the message.
How to achieve this. Like when I get the dis-connected information. I should check-it and send it to java-script to refresh the page or reconnect ?