PortReader is a lightweight Windows application designed to monitor, inspect, and log active TCP and UDP ports in real time.
It provides a simple WinForms interface for enumerating active connections, checking port states, refreshing results quickly, and exporting data for later analysis.
This project is intended as a learning-oriented tool focusing on networking fundamentals, process-to-port mapping, and Windows socket APIs.
It demonstrates how to query system-level connection tables, update UI components safely, and structure small desktop utilities for maintainability.
- Real-time TCP and UDP port enumeration
- Displays local/remote addresses and process IDs
- Auto-refresh option for continuous monitoring
- Ability to export results for offline review
- Clean, minimal WinForms UI
- Written in C# (.NET)
- Add filtering (PID, protocol, port ranges)
- Include a command-line mode
- Better error handling and logging
- Optional dark mode UI
- Performance optimizations for large tables
- Windows
- .NET SDK (6.0 or later)
- Visual Studio or any compatible C# IDE
/PortReader.csproj /Form1.cs /Form1.Designer.cs /Program.cs /SettingsForm.cs /.gitignore