
TCPVcon will show you detailed listings of all TCP and UDP endpoints on your system, including the local and remote addresses and state of TCP connections. On Windows Server 2008, Vista, and XP, TCPVcon also reports the name of the process that owns the endpoint. TCPVcon provides a more informative and conveniently presented subset of the Netstat program that ships with Windows.
Tcpvcon usage is similar to that of the built-in Windows netstat utility:
tcpvcon [-a] [-c] [-n] [[process name] [PID]]
-a Show all endpoints (default is to show established TCP connections)
-c Print output as CSV
-n Don't resolve addresses