Have an amazing solution built in RAD Studio? Let us know. Looking for discounts? Visit our Special Offers page!
CodeDelphiTech Partner

Easily Identify Network Connections By Process In Your Windows Apps With This Excellent Component Suite


Sometimes Developers may need to monitor the network connections by process running in a machine programmatically. How to list down the network connections between local and remote address, ports , protocol, status etc. ? Don’t know how to do. Don’t worry. MiTec’s System Information Management Suite’s component helps to identify easily and we will learn how to use the thread TNetConMonThread to demonstrate the established connections by a process in this post.

Platforms: Windows.

Installation Steps:  

You can easily install this Component Suite from GetIt Package Manager. The steps are as follows.

  1. Navigate In RAD Studio IDE->Tools->GetIt Package Manager->select Components in Categories->Components->Trail -MiTec system Information Component Suite 14.3 and click Install Button.
  2. Read the license and Click Agree All. An Information dialog saying ‘Requires a restart of RAD studio at the end of the process. Do you want to proceed? click yes and continue.
  3. It will download the plugin and installs it. Once installed Click Restart now.

How to run the Demo app: 

  • Navigate to the System Information Management Suite trails setup, Demos folder which is installed during Get It installation e.g) C:UsersDocumentsEmbarcaderoStudio21.0CatalogRepositoryMiTeC-14.3DemosDelphi20
  • Open the NetCon project in RAD studio 10.4.1 compile and Run the application.
  • This Demo App shows how to list down network connections by process in your machine and show the connection record properties.

Components used in MSIC NetCon Demo App:

  • TNetConMonThread: Monitors network connections by processes in real-time and provides their properties. This class is singleton – it means it ensures to be instantiated only once per application.
  • TListView for viewing network connections between peers.

Implementation Details:

  • An instance FNCMof TNetConMonThread is created. And in regular interval of thread the Network connections list is refreshed and updated to the screen using the OnInterval Event handler.
  • On each interval, the Network connections List( using TNetConRecord) is added to the list view by clearing the existing list and looping the RecordCount.
MiTeC Network Connections Demo

It’s that simple to monitor network connections established in your machine and view the details of the connections. Use this MiTeC component suite and get the job done with less code.

Head over and check out the full MiTec System Information Management Suite for Access System Information for Windows in Delphi Applications

What's New for RAD Studio 11

Reduce development time and get to market faster with RAD Studio, Delphi, or C++Builder.
Design. Code. Compile. Deploy.
Start Free Trial   Upgrade Today

   Free Delphi Community Edition   Free C++Builder Community Edition

Related posts

The Pros And Cons Of Artificial Intelligence

C++DelphiRAD Studio

9 Signs You Should Invest in Automation

C++DelphiNewsRAD StudioWhitepaper

A Beginner’s Guide to Artificial Intelligence


What You Need For C++ Artificial Intelligence Step By Step

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.