C language function:GetTcp6Table2 sample codes

Search sample code in the internet.It is the result.

TITLE : delphi - How to find out which port uses a process? - Stack Overflow
Process IDs are also available from GetTcpTable2() and GetTcp6Table2() as well. And don't forget that UDP uses ports as well so look at the corresponding UDP functions. ? Remy Lebeau Jun 5 '13 at 15:36.......

search Google