GetTcpTable() in delphi

bmbsa used Ask the Experts™
I need to list all remote ports connected to my local machine using delphi code. I found a VB code but couldn't find any equivalent for delphi.

I don't need the IP addresses or states, I only need the remote ports to which my machine is connected.

Thank you

BTW: I am using delphi 2007
Watch Question

Do more with

Expert Office
EXPERT OFFICE® is a registered trademark of EXPERTS EXCHANGE®
This PAQ of mine will most certainly help you. If you need help applying it let me know and I'll give you an example:

Mike McCrackenSenior Consultant
Most Valuable Expert 2011
Top Expert 2013

This question has been classified as abandoned and is being closed as part of the Cleanup Program.  See my comment at the end of the question for more details.

Do more with

Expert Office
Submit tech questions to Ask the Experts™ at any time to receive solutions, advice, and new ideas from leading industry professionals.

Start 7-Day Free Trial