FlashSocket.IO
FlashSocket.IO copied to clipboard
Solution to auto-closing sockets: Add 'flashsocket' to io.transports on server side
io.set('transports', [ 'websocket', 'htmlfile', 'xhr-polling', 'jsonp-polling', 'flashsocket' ]);
'flashsocket' must be added to socketIO's transports. Otherwise it will close the socket immediately.