We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
in pub/sub pattern
if I want set max connections number...
there is no method to refuse connction...
The text was updated successfully, but these errors were encountered:
OK,I got one method to refuse connections...
var c=0;
sock.on("connect",function(){ //console.log(sock.socks[c]); console.log("connections:"+c+"==============================="); if(c>2){ var peer=sock.socks[c]; peer.write(this.pack("refuse")); //if (peer.writable) peer.write("refuse"); //peer.destroy(); } c=c+1;
bug you should expose a method to do it
Sorry, something went wrong.
TODO: add `.set('max connections', Number).
No branches or pull requests
in pub/sub pattern
if I want set max connections number...
there is no method to refuse connction...
The text was updated successfully, but these errors were encountered: