Unable to connect using WebSockets without changing readyState

Ive tried several approaches and even copied / pasted from http://code.google.com/p/phpwebsocket/

I am using Google Chrome beta version 5.0.375.70 and the error is always the same: Error: INVALID_STATE_ERR: DOM 11 exception

when debugging, I see that readyState is always 0 (connection), no other error is displayed.

Any ideas?

+3
source share
1 answer

There are currently 2 supported WebSocket API projects.

Draft75, PHP script Draft76, Upgrade Header Handshake, Draft77 .

- 5 6 Chrome Draft75 Draft76.

, PHP Script , . Chrome - , , ReadyState .

+1

Source: https://habr.com/ru/post/1749355/


All Articles