Processes

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

What is the easiest way to associate a process with the ports that the
process may have opened? I know how to output all of the process, but say
you have a process running that is a web server, how could you display that
this process also has port 80 curently open?
 
You might be able to execute and parse the netstat commandline tool. If you
use the system process class to do this you can hide the command windows and
pipe the output to a string that you can then parse.
 
Back
Top