Ahh, ok, that's the modifed version of zack0wack0's plugin.
please post any questions about this plugin
here.
Not sure what's the problem here, but i think you should set your own configuration on how the client behaves, please refer to this
I think the problem occurs somewhere around here; but i cannot tell without more info!
instanceProto.connect = function(host,port)
{
var socket = this.socket;
//problem here?
if(socket != undefined || socket != null)
socket["disconnect"]();
this.lastAddress = host;
this.lastPort = port;
//or problem here, maybe?
socket = window["io"]["connect"]('http://' + host + ':' + port, {'force new connection': true});
Cheers!