Let's say we have a foreign EXE running on TCP/IP.

Anybody know of a way to find the port it's running on?
And how can we capture the messages being sent by this EXE?

Thanks,