basically it is a rehash of this question: Cannot connect using WebSockets, not changing readyState
Which was not really answered.
I see on the server side:
[nlubin@localhost www]$ php -q /var/www/html/realTime/server/startDaemon.php
2011-03-15 13:49:30 System: Socket Resource id #7 created.
2011-03-15 13:49:30 System: Socket bound to localhost:7332.
2011-03-15 13:49:30 System: Start listening on Socket.
I am using the client and socket from this NetTuts: start using html5 websockets today
When i first go to the client it says in the box Socket Status: 0
and the server says:
2011-03-15 13:51:53 WebSocket: Resource id #8 CONNECTED!
2011-03-15 13:51:53 WebSocket: Requesting handshake...
2011-03-15 13:51:53 WebSocket: Handshaking...
2011-03-15 13:51:53 WebSocket: Done handshaking...
Then when i send anything it says: "Error: INVALID_STATE_ERR: DOM Exception 11"
If i click disconnect it disconnects..
Can anyone help?