Skip to main content
AI Assist is now on Stack Overflow. Start a chat to get instant answers from across the network. Sign up to save and share your chats.

You are not logged in. Your edit will be placed in a queue until it is peer reviewed.

We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.

5
  • 2
    Does your server support the correct WebSocket protocol? It may depend on the browser that you use Commented Nov 20, 2012 at 6:45
  • You mean the tcp server should support Websocket as well? As far as the browser is concerned, isn't the message WebSocket is supported by your Browser! sufficient? Commented Nov 20, 2012 at 6:50
  • 1
    Websockets are using a special protocol on top of TCP, including some extra connection handshaking. It's not like normal sockets that you can just connect and start communicating. Commented Nov 20, 2012 at 6:52
  • @Mika, please take a look at the link in my previous comment (the word browser). There you will see that different browsers use different websocket protocols. Your test is only checking if the browser does support WebSockets at all but does not say anything about the protocol version that is used Commented Nov 20, 2012 at 6:52
  • Ok. Thanks for clearing some of my misconceptions. Commented Nov 20, 2012 at 7:28