Click here to Skip to main content
Click here to Skip to main content
Go to top

Windows netstat application

, 19 May 2003
Rate this:
Please Sign up or sign in to vote.
Windows netstat application.


This sample application is a full featured Windows version of the popular netstat program. There are filters for protocol, connection states, port and remote IP. There are also options for continuous update, a log file, and email notification.

This application demonstrates a dialog bases MFC application, use of the IPHlpApi, and the use of MAPI (Mail API). A couple of functions have been hacked out of the netstat.cpp code created by

Sample screenshot



This article has no explicit license attached to it but may contain usage terms in the article text or the download files themselves. If in doubt please contact the author via the discussion board below.

A list of licenses authors might use can be found here


About the Author

Rod VanAmburgh
Web Developer
United States United States
I enjoy working with C#, Java, Perl and C++

Comments and Discussions

Questionexecuting "netstat -ano | find "SERVER_PORT" " PinmemberMember 109995447-Aug-14 19:22 
Questionre: cant open PinmemberMember 101427855-Jul-13 22:50 
GeneralMy vote of 5 PinmemberGiovefi20-Sep-12 13:38 
Generalkernel level Pinmemberhimanshupareek22-Oct-08 1:47 
Generalgood idea... but PinmembereRRaTuM2-Jan-07 1:02 
Generalhelp me Pinsussdeepina17-Jan-05 22:22 
GeneralRe: help me PinmemberRod VanAmburgh19-Jan-05 17:11 
GeneralGet Process ID too Pinmembersyedmuradali22-Sep-03 11:35 
GeneralRe: Get Process ID too Pinsussvanamburghrod@wmconnect.com22-Sep-03 18:47 
GeneralRe: Get Process ID too Pinmembersyedmuradali22-Sep-03 20:55 
GeneralHmm.... PinmemberBill Sanarwanto21-May-03 1:18 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.

| Advertise | Privacy | Mobile
Web04 | 2.8.140921.1 | Last Updated 20 May 2003
Article Copyright 2003 by Rod VanAmburgh
Everything else Copyright © CodeProject, 1999-2014
Terms of Service
Layout: fixed | fluid