in reply to How do I communicate with a Windows process?

Have you tried

open NETSTAT, "netstat -a -e -n -o -s -r|" or die "Couldn't open netst +at for parsing: $!"; @lines = <NETSTAT>; #Parse as you like

There are reasons to use Win32::Process to control a process. And there are reasons not to. This might be one of the latter.

--marmot