SyntaxFix
Write A Post
Hire A Developer
Questions
Windows comes with the netstat utility, which should do exactly what you want.
netstat