GetTcpTable() in delphi

bmbsa
bmbsa used Ask the Experts™
on
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.

http://vbnet.mvps.org/index.html?code/network/gettcpconnectiontable.htm

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
Comment
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: http://www.experts-exchange.com/Programming/Languages/Pascal/Delphi/Q_23125330.html
Use IPHELPER,

Get_TCPTable()
Mike McCrackenSenior Consultant
Most Valuable Expert 2011
Top Expert 2013

Commented:
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