-When receiving a new connection compare against blocked_IP table
server.on('connection', function (sock) {
console.log(sock.remoteAddress);
// Put your logic for what to do next based on that remote address here
});
-if blocked client do not allow any action server side from that IP
-When receiving a new connection compare against blocked_IP table server.on('connection', function (sock) { console.log(sock.remoteAddress); // Put your logic for what to do next based on that remote address here }); -if blocked client do not allow any action server side from that IP