IE and Socket.io compatibility

I make some chat example like here: http://psitsmike.com/2011/09/node-js-and-socket-io-chat-tutorial/

When I use Chrome and Firefox everything works like a charm. With IE9 or Opera some socket.io events are not firing (e.g. disconnect) or firing too late, and data receiving is too slow.

I installed node.js and socket.io module with the npm method.

Please help.

Socket.IO works best with websockets. IE9 and Opera (depending on version) does not support websockets.

When this happens socket.io falls back on different polling methods and that explains the low data rate and events firing to late (1 or 2 minutes late). To remdy this you should try to enable flash sockets.

 io.set('transports', [
     'websocket'
   , 'flashsocket'
   , 'htmlfile'
   , 'xhr-polling'
   , 'jsonp-polling'
 ]);

and also please make sure that the flash policy port (default 10843) is reachable from the client.