[RESOLVED] Error in the netstat command
I am creating a firewall in which I am using netstat -o command to retrieve the number of comps that connected to my computer. Also i am scanning for the applications that are currently using my internet connection. But my application hangs on the statement
ret = WaitForSingleObject(proc.hprocess, INFINITE) where ret is defined as long
Plz help
Re: Error in the netstat command
I dontknow whats wrong with your code but theres loads of netstat examples at www.pscode.com/vb
I tried a few, most didnt work, must be because of my win2k OS, but this one worked, and as it says in its title it is fast...
http://www.pscode.com/vb/scripts/Sho...30786&lngWId=1
http://www.pscode.com/upload_PSC/scr...1423533653.jpg