资源简介
网络数据包捕获源码,VC++完整实现.

代码片段和文件信息
// ipmon.cpp : Defines the class behaviors for the application.
//
#include “stdafx.h“
#include “ipmon.h“
#include “ipmonDlg.h“
#ifdef _DEBUG
#define new DEBUG_NEW
#undef THIS_FILE
static char THIS_FILE[] = __FILE__;
#endif
/////////////////////////////////////////////////////////////////////////////
// CIpmonApp
BEGIN_MESSAGE_MAP(CIpmonApp CWinApp)
//{{AFX_MSG_MAP(CIpmonApp)
// NOTE - the ClassWizard will add and remove mapping macros here.
// DO NOT EDIT what you see in these blocks of generated code!
//}}AFX_MSG
ON_COMMAND(ID_HELP CWinApp::onhelp)
END_MESSAGE_MAP()
/////////////////////////////////////////////////////////////////////////////
// CIpmonApp construction
CIpmonApp::CIpmonApp()
{
// TODO: add construction code here
// Place all significant initialization in InitInstance
}
/////////////////////////////////////////////////////////////////////////////
// The one and only CIpmonApp object
CIpmonApp theApp;
/////////////////////////////////////////////////////////////////////////////
// CIpmonApp initialization
BOOL CIpmonApp::InitInstance()
{
if (!AfxSocketInit())
{
AfxMessageBox(IDP_SOCKETS_INIT_FAILED);
return FALSE;
}
AfxEnableControlContainer();
// Standard initialization
// If you are not using these features and wish to reduce the size
// of your final executable you should remove from the following
// the specific initialization routines you do not need.
#ifdef _AFXDLL
Enable3dControls(); // Call this when using MFC in a shared DLL
#else
Enable3dControlsStatic(); // Call this when linking to MFC statically
#endif
CIpmonDlg dlg;
m_pMainWnd = &dlg;
int nResponse = dlg.DoModal();
if (nResponse == IDOK)
{
// TODO: Place code here to handle when the dialog is
// dismissed with OK
}
else if (nResponse == IDCANCEL)
{
// TODO: Place code here to handle when the dialog is
// dismissed with Cancel
}
// Since the dialog has been closed return FALSE so that we exit the
// application rather than start the application‘s message pump.
return FALSE;
}
属性 大小 日期 时间 名称
----------- --------- ---------- ----- ----
文件 10074 2001-02-12 15:40 ipMon_zw_2K\AFXSOCK.H
文件 1609 2002-11-15 21:23 ipMon_zw_2K\ipmon.clw
文件 2143 2001-02-15 11:24 ipMon_zw_2K\ipmon.cpp
文件 4348 2002-11-15 21:13 ipMon_zw_2K\ipmon.dsp
文件 533 2001-02-15 11:24 ipMon_zw_2K\ipmon.dsw
文件 1313 2001-02-15 11:24 ipMon_zw_2K\ipmon.h
文件 74752 2008-06-13 19:36 ipMon_zw_2K\ipmon.ncb
文件 989 2008-06-13 19:31 ipMon_zw_2K\ipmon.plg
文件 5862 2002-11-15 21:21 ipMon_zw_2K\ipmon.rc
文件 18853 2002-11-26 19:44 ipMon_zw_2K\ipmonDlg.cpp
文件 4963 2002-11-15 21:22 ipMon_zw_2K\ipmonDlg.h
文件 870 2001-10-26 18:26 ipMon_zw_2K\mstcpip.h
文件 29635 2001-10-26 18:27 ipMon_zw_2K\Network Programming - Table of Contents.htm
文件 1054 2002-11-15 21:18 ipMon_zw_2K\resource.h
文件 207 2001-02-15 11:24 ipMon_zw_2K\StdAfx.cpp
文件 1184 2001-02-15 11:34 ipMon_zw_2K\StdAfx.h
文件 55 2002-11-09 22:37 ipMon_zw_2K\说明.txt
文件 1078 2001-02-15 11:24 ipMon_zw_2K\res\ipmon.ico
文件 397 2001-02-15 11:24 ipMon_zw_2K\res\ipmon.rc2
..A.SH. 3072 2007-12-23 21:53 ipMon_zw_2K\res\Thumbs.db
文件 32876 2002-11-26 19:40 ipMon_zw_2K\Release\ipmon.exe
文件 9595 2001-10-26 18:18 ipMon_zw_2K\Network Programming - Table of Contents.files\125static.gif
文件 43 2001-10-26 18:27 ipMon_zw_2K\Network Programming - Table of Contents.files\63613636373363343362643933383230(1).gif
文件 43 2001-10-26 18:27 ipMon_zw_2K\Network Programming - Table of Contents.files\63613636373363343362643933383230(2).gif
文件 43 2001-10-26 18:27 ipMon_zw_2K\Network Programming - Table of Contents.files\63613636373363343362643933383230(3).gif
文件 43 2001-10-26 18:27 ipMon_zw_2K\Network Programming - Table of Contents.files\63613636373363343362643933383230.gif
文件 7856 2001-10-26 18:18 ipMon_zw_2K\Network Programming - Table of Contents.files\80211468.gif
文件 1926 2001-10-26 18:13 ipMon_zw_2K\Network Programming - Table of Contents.files\eweb_banner.gif
文件 1487 2001-10-26 18:13 ipMon_zw_2K\Network Programming - Table of Contents.files\internetcom.gif
文件 13141 2001-10-26 18:13 ipMon_zw_2K\Network Programming - Table of Contents.files\ipmon.gif
............此处省略42个文件信息
- 上一篇:C语言经典算法最大流问题
- 下一篇:嵌入式软件c编程规范
相关资源
- 基于MFC的TCP调试助手源码95706
- VC++ 多线程文件读写操作
- 移木块游戏,可以自编自玩,vc6.0编写
- C++纯文字DOS超小RPG游戏
- 安科瑞智能电能表MODBUS通讯程序 VC6
- VC++MFC小游戏实例教程(实例)+MFC类库
- VC++实现CMD命令执行与获得返回信息
- 九齐单片机源码
- Qt画图工具源码(qgraphics draw)
- qt 串口助手源码
- modbus 主机源码
- 《LINUX C编程从初学到精通》光盘源码
- OLED驱动源码
- tm1650+stm32f103源码(board_tm1650.c)
- cheat engine 7.2源码
- CrySearch内存搜索器源码
- FTP客户端源码(c++)
- MFC视频播放器源码(支持avi/wma/mp3等格
- CreatBitmap图片合成源码
- VC++基于OpenGL模拟的一个3维空间模型
- vs2008 can总线通讯源码
- 宠物管理系统课程设计(源码+数据库
- Windows扩展命令程序(源码)
- c语言实现火车订票系统(控制台)源
- 鼠标连点器(附源码)
- c++ 简易贪吃蛇源码
- 杀毒软件源码
- 经典外汇智能交易程序Amazing3.1源码(
- 微型文件系统源码(FatFs)
- 基于VC++的SolidWorks二次开发SolidWorks
评论
共有 条评论