How can I gather / display the number of concurrent users?
Something like the equivalent of:
socket.on('connect', function() { connectCounter++});
socket.on('disconnect', function() { connectCounter--});
How can I gather / display the number of concurrent users?
Something like the equivalent of:
socket.on('connect', function() { connectCounter++});
socket.on('disconnect', function() { connectCounter--});