Click here to Skip to main content
15,394,479 members
Articles / Desktop Programming / MFC
Posted 19 May 2003


38 bookmarked

Windows netstat application

Rate me:
Please Sign up or sign in to vote.
2.80/5 (21 votes)
19 May 2003
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" " Pin
Member 109995447-Aug-14 19:22
MemberMember 109995447-Aug-14 19:22 
Questionre: cant open Pin
Member 101427855-Jul-13 22:50
MemberMember 101427855-Jul-13 22:50 
GeneralMy vote of 5 Pin
Giovefi20-Sep-12 13:38
MemberGiovefi20-Sep-12 13:38 
Generalkernel level Pin
himanshupareek22-Oct-08 1:47
professionalhimanshupareek22-Oct-08 1:47 
Generalgood idea... but Pin
eRRaTuM2-Jan-07 1:02
MembereRRaTuM2-Jan-07 1:02 
Generalhelp me Pin
sonikuri17-Jan-05 22:22
Membersonikuri17-Jan-05 22:22 
GeneralRe: help me Pin
Rod VanAmburgh19-Jan-05 17:11
MemberRod VanAmburgh19-Jan-05 17:11 
GeneralGet Process ID too Pin
syedmuradali22-Sep-03 11:35
Membersyedmuradali22-Sep-03 11:35 
GeneralRe: Get Process ID too Pin
vanamburghrod@wmconnect.com22-Sep-03 18:47
sussvanamburghrod@wmconnect.com22-Sep-03 18:47 
GeneralRe: Get Process ID too Pin
syedmuradali22-Sep-03 20:55
Membersyedmuradali22-Sep-03 20:55 
GeneralHmm.... Pin
Bill Sanarwanto21-May-03 1:18
MemberBill Sanarwanto21-May-03 1:18 

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

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