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 email@example.com.