If the OP is just looking for all the active connections of a particular program, then perhaps.
1 2 3 4 5 6
$ netstat -p -t
Active Internet connections (w/o servers)
Proto Recv-Q Send-Q Local Address Foreign Address State PID/Program name
tcp 0 0 XXX.lan:60244 wq-in-f16.1e100.n:imaps ESTABLISHED 2702/thunderbird
tcp 0 0 XXX.lan:36088 ec2-52-24-160-47.:https ESTABLISHED 2487/firefox
// snipped
If on the other hand, the OP is looking for some kind of introspection software, where a program can discover it's own connectivity (like it should already know this), then that's a different matter.
One scenario I can imagine is where a program 'P' has been run with some kind of DLL injection, and 'P' wishes to discover if there are any unexpected side-channel connections open in the program. The problem with this approach is anyone smart enough to pull off the DLL injection is also likely to be smart enough to tamper with any data 'P' could learn about the connections and hide itself.
not everything is nefarious :) Sometimes you just want to map the computers in your office building. There are tools that do that, and they pretty much assume the computers are not actively trying to duck and dodge. Windows is noisy and you can nail every computer just from idle chatter.