...what programs had open ports, as to the best of my knowledge, you can't determine this directly from either app. (If there is a way, I'd appriciate it).
The -p switch works for my version (1.42) of netstat.
List tcp ports and program info: netstat -tp
Still, lsof is a much more complete solution.
Comment on Re: Programming and Instant Gratification