Is there a way in PHP to grab the number of clients that are connected to a socket?
would calling an exec command like netstat -n | grep -c 7778
be a smart way to do this?
Is there a way in PHP to grab the number of clients that are connected to a socket?
would calling an exec command like netstat -n | grep -c 7778
be a smart way to do this?