I need to deal with the command line result as follows: netstat -aon in Delphi, parse it and find out all the ports that are already in use. Is there a library or component around this?
To get this information, you can use these WinAPi functions.
GetTcpTable
GetUdpTable
which are in the library Iphlpapi.dll(Windows Api IP Helper).
Iphlpapi.dll
for delphi translating these functions you can check the block JwaIpHlpApithat is part ofJEDI API Library
JwaIpHlpApi
JEDI API Library
Source: https://habr.com/ru/post/1768905/More articles:web application for data modeling - web-applicationsJComboBox causes a runtime error - javaforum comments on a web page - asp.netQuestion about data template or style in WPF xaml - data-bindingLinux: modeling packet reordering - linuxmysql separates the search string with a space and inserts the query - phpWorkaround for adding ActionListener to JTextArea - javaОшибка приложения в NSURLConnection - iosSinatra shotgun problem - undefined methoddefault - ruby | fooobar.comHow to compile and link using gnatmake with the Ada shared library? - adaAll Articles