Click here to Skip to main content
15,886,518 members
Articles / Desktop Programming / MFC
Article

Windows netstat application

Rate me:
Please Sign up or sign in to vote.
2.80/5 (21 votes)
19 May 2003 103.8K   3.1K   38   11
Windows netstat application.

Introduction

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 mmiller@hick.org.

Sample screenshot

Enjoy!

License

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


Written By
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
Member 109995447-Aug-14 19:22 
Questionre: cant open Pin
Member 101427855-Jul-13 22:50
Member 101427855-Jul-13 22:50 
GeneralMy vote of 5 Pin
Giovefi20-Sep-12 13:38
Giovefi20-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
eRRaTuM2-Jan-07 1:02 
Generalhelp me Pin
sonikuri17-Jan-05 22:22
sonikuri17-Jan-05 22:22 
GeneralRe: help me Pin
Rod VanAmburgh19-Jan-05 17:11
Rod VanAmburgh19-Jan-05 17:11 
GeneralGet Process ID too Pin
syedmuradali22-Sep-03 11:35
syedmuradali22-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
syedmuradali22-Sep-03 20:55 
GeneralHmm.... Pin
Bill Sanarwanto21-May-03 1:18
Bill 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.