You have to have some type of connection established, like sharing a file through a chat client, then use netstat. . .or maybe email headers. . .