Using SuperWebSocket with jquery-websocket?

Feb 22, 2012 at 3:40 PM
Edited Feb 22, 2012 at 3:41 PM

Are there any cases where SuperWebSocket has been used with jquery-websocket?

Considering using jquery-websocket instead of WebSocket4Net, as I was unable to find WebSocket4Net documentation to that indicates and gives examples of the following:

  • Wraps the native WebSocket if support is detected
  • Provides a default fallback using traditional AJAX polling over HTTP
If this is supported can this be verified?
Thank you.
Feb 23, 2012 at 12:22 AM

WebSocket4Net is a C# websocket client, which doesn't run in browser like JS, so WebSocket4Net may not be what you want.

I don;t know about jquery-websocket, but I can tell you SuperWebSocket doesn't support polling.

Feb 23, 2012 at 2:40 PM

When using SuperWebSocket, what is the current strategy for dealing with clients who do not support WebSockets ?

Is there any plan to introduce using fallback technologies if the WebSocket protocol is not available on the client?

Feb 23, 2012 at 2:45 PM

I have explained it in my last post.

In other words, a client doesn't support websocket cannot connect SuperWebSocket and SuperWebSocket only accept websocket connections.

SuperWebSocket is a pure websocket server which doesn't support polling and comet. You need to write your own code to support the clients which only can work by polling or comet.