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.......