Skip to content
Advertisement

Tag: socket.io

Socket.io – limit connections per IP address

Is there a way to limit the number of connections to a socket.io server from the same IP address? For example, I could set the limit to 3, and then when someone opened 4 tabs to join the server, three of them would connect and the fourth or any after wouldn’t get connected. I’m not trying to cap the number

Advertisement