Link to home
Start Free TrialLog in
Avatar of sk33v3
sk33v3

asked on

Network Programming

I am in need to be able to is a "netstat -ano" this is a DOS command in Windows XP. What it does is a standard netstat command except that it returns the process handle that is using the designated entry. Any help would be appreciated. thank you
Avatar of vinnyd79
vinnyd79

you could use shell to run the command and re-direct the results to a text file. Then open the file and use the data.

Shell "cmd.exe /c netstat -ano > C:\netstat.tmp", vbHide
Avatar of sk33v3

ASKER

I am wanting to avoid doing that. I would rather use API calls if I could, Possibly something that would also work on Win98 - WinXP
ASKER CERTIFIED SOLUTION
Avatar of twalgrave
twalgrave

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
PLEASE DO NOT ACCEPT THIS COMMENT AS AN ANSWER!

No comment has been added lately, so it's time to clean up this TA.
I will leave a recommendation in Community Support that this question is:
- points to twalgrave
Please leave any comments here within the
next seven days.
answer force-accepted

DigitalXtreme
CS Moderator