I want to listen a port number which was opened before with another application. How can I do that? All replies are welcome.

Thank you.