Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP

Loading…

Benchmarking Issues #514

Closed
thebigredgeek opened this Issue · 2 comments

3 participants

@thebigredgeek

For some reason, when I do this:

var connect = function(){
    return io.connect('127.0.0.1:81',{reconnect:false});
};


for(var i = 0; i<=1000; i++){
    setTimeout(function(){
        connect();
    },1000);
}

It only shows on the actual server receiving a single connection. Is there a reason this would happen?

@Alexis-D

I was actually trying to achieve the same thing today. It turned out that I found the 'force new connection' option which seems to fix your issue (and mine btw) var socket = io.connect('http://localhost:3333/', {'force new connection': true});. Though it doesn't seem to be documented anywhere, so I'm unsure if it's really supported or not.

@rauchg
Owner
@rauchg rauchg closed this
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.