How jaevibing/npf works
npf is a Windows Forms network traffic stress-testing tool. The documented workflow is to enter a target, optional message, protocol, and interval, then start sending; the source also contains an HTTP mode. Startup shows a disclaimer and opens the main form. The form checks connectivity before starting its timer, which dispatches to protocol-specific code. The HTTP path starts repeated client connections until stopped. Source excerpts show these flows, but do not establish the behavior of the designer-defined controls or the separate npfhttp project; http.cs is an empty class.
Main entry points: Form1.cs Timer Dispatch · Program.cs Application Startup
Components 10
Startup and UI
- Application Startup
Program.cs - Main Form
Form1.cs
Send Control
- Connectivity Check
Form1.cs - Timer Dispatch
Form1.cs
Protocol Sending
- UDP Sender
Form1.cs - TCP Sender
Form1.cs - HTTP Sender
Form1.cs - HTTP Placeholder
http.cs
Other components
- User
- Network Target
Connections 10
- User → Main Form: configures and starts
README.md - Application Startup → Main Form: opens
Program.cs - Main Form → Connectivity Check: checks connection
Form1.cs - Main Form → Timer Dispatch: starts timer
Form1.cs - Timer Dispatch → UDP Sender: dispatches UDP
Form1.cs - Timer Dispatch → TCP Sender: dispatches TCP
Form1.cs - Timer Dispatch → HTTP Sender: dispatches HTTP
Form1.cs - UDP Sender → Network Target: sends datagram
Form1.cs - TCP Sender → Network Target: connects and writes
Form1.cs - HTTP Sender → Network Target: opens connections
Form1.cs