I think Socket.IO should choose The best method to find connection with the server
in the series ,
Websocket , FlashSocket and then JSONP
but my server which is running socket.io 0.7.7 on the top of node 0.4.9 (on windows compiled with cygwin) goes to XHR/JsonP polling without any apparent reason. I have checked on all ports from 80 – 89 just to make sure , and the problem remains the same all the time.
I also checked for console logs in both the sides.
Firebug Gives No error just shows me the XHR get requests instead.
and On the Server Console it gives me :
info - socket.io started
debug - client authorised // i dunno why this is occuring though
info - handshake autorised 154845454664764
setting request Get/socket.io/1/xhr-polling/154845454664764
debug - setting poll timeout
.
.
. and so on
Any reason in mind guys ??
You may be using a version of Firefox that has WebSockets disabled.