6 server = net.Server(function (socket) {
8 socket.on('error', function () {
14 server.maxConnections = 128;
18 var oldConnections, oldErrors;
20 setInterval(function () {
21 if (oldConnections != server.connections) {
22 oldConnections = server.connections;
23 console.log("SERVER %d connections: %d", process.pid, server.connections);
26 if (oldErrors != errors) {
28 console.log("SERVER %d errors: %d", process.pid, errors);