I've been learning a few things about ASP for the past few days. I wanted to convert this PHP code line into ASP but I'm kinda stuck with it:
$online = exec('netstat -a -n |find "5816" |find "ESTABLISHED" /c') +1;
I have tried creating a variable to store the data but unable to figure out how to check the port 5816 and count the amount of connections. Help is appreciated!
It should be basically a command to be run in cmd to check the port and no. of connections established by it !