网络主机的存活性探测系统设计与实现VC
这个是简单的实例,可以探测存活主机的进程,多线程的vc6.0程序
代码片段和文件信息
属性 大小 日期 时间 名称
----------- --------- ---------- ----- ----
文件 1550 2007-02-02 17:12 agang326326.clw
文件 3531 2007-02-03 18:59 agang326ReadMe.txt
文件 1301 2007-02-03 18:59 agang326326.h
文件 2043 2007-02-03 18:59 agang326326.cpp
文件 1054 2007-02-03 18:59 agang326StdAfx.h
文件 205 2007-02-03 18:59 agang326StdAfx.cpp
文件 4831 2009-06-15 01:55 agang326326.dsp
文件 514 2007-02-03 18:59 agang326326.dsw
文件 99328 2007-02-02 17:27 agang326326.ncb
文件 1680 2007-02-02 17:12 agang326326.plg
文件 395 2007-02-03 18:59 agang326
es326.rc2
文件 1078 2007-02-03 18:59 agang326
es326.ico
..A.SH. 13312 2009-06-14 13:06 agang326
esThumbs.db
文件 1078 2009-06-15 00:50 agang326
esicon1.ico
文件 1270 2009-06-15 00:50 agang326
esitmap1.bmp
文件 1318 2009-06-15 00:50 agang326
es781.bmp
文件 1334 2009-06-15 00:50 agang326
esLIVEPORT.bmp
文件 1334 2009-06-15 00:50 agang326
es921.bmp
文件 2102 2009-06-15 00:50 agang326
esitmap2.bmp
文件 1334 2009-06-15 00:50 agang326
esDeadhost.bmp
文件 1334 2009-06-15 00:50 agang326
eshost.bmp
文件 2102 2009-06-15 00:50 agang326
esICON.bmp
文件 1334 2009-06-15 00:50 agang326
esLivehost.bmp
文件 1771 2009-06-15 01:11 agang326326Dlg.h
文件 2005 2009-06-15 01:12 agang326Resource.h
文件 708 2009-06-14 00:50 agang326 agICMP.h
文件 6911 2007-02-02 14:35 agang326326.rc
文件 54236 2007-02-02 14:35 agang326326.aps
文件 12456 2007-02-02 17:12 agang326326Dlg.cpp
文件 17776 2007-02-02 17:12 agang326Debug326.res
............此处省略16个文件信息
// 326.cpp : Defines the class behaviors for the application.
//
#include “stdafx.h“
#include “326.h“
#include “326Dlg.h“
#ifdef _DEBUG
#define new DEBUG_NEW
#undef THIS_FILE
static char THIS_FILE[] = __FILE__;
#endif
/////////////////////////////////////////////////////////////////////////////
// CMy326App
BEGIN_MESSAGE_MAP(CMy326App CWinApp)
//{{AFX_MSG_MAP(CMy326App)
// 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()
/////////////////////////////////////////////////////////////////////////////
// CMy326App construction
CMy326App::CMy326App()
{
// TODO: add construction code here
// Place all significant initialization in InitInstance
}
/////////////////////////////////////////////////////////////////////////////
// The one and only CMy326App object
CMy326App theApp;
/////////////////////////////////////////////////////////////////////////////
// CMy326App initialization
BOOL CMy326App::InitInstance()
{
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
CMy326Dlg 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;
}
属性 大小 日期 时间 名称
----------- --------- ---------- ----- ----
文件 1550 2007-02-02 17:12 agang326326.clw
文件 3531 2007-02-03 18:59 agang326ReadMe.txt
文件 1301 2007-02-03 18:59 agang326326.h
文件 2043 2007-02-03 18:59 agang326326.cpp
文件 1054 2007-02-03 18:59 agang326StdAfx.h
文件 205 2007-02-03 18:59 agang326StdAfx.cpp
文件 4831 2009-06-15 01:55 agang326326.dsp
文件 514 2007-02-03 18:59 agang326326.dsw
文件 99328 2007-02-02 17:27 agang326326.ncb
文件 1680 2007-02-02 17:12 agang326326.plg
文件 395 2007-02-03 18:59 agang326
es326.rc2
文件 1078 2007-02-03 18:59 agang326
es326.ico
..A.SH. 13312 2009-06-14 13:06 agang326
esThumbs.db
文件 1078 2009-06-15 00:50 agang326
esicon1.ico
文件 1270 2009-06-15 00:50 agang326
esitmap1.bmp
文件 1318 2009-06-15 00:50 agang326
es781.bmp
文件 1334 2009-06-15 00:50 agang326
esLIVEPORT.bmp
文件 1334 2009-06-15 00:50 agang326
es921.bmp
文件 2102 2009-06-15 00:50 agang326
esitmap2.bmp
文件 1334 2009-06-15 00:50 agang326
esDeadhost.bmp
文件 1334 2009-06-15 00:50 agang326
eshost.bmp
文件 2102 2009-06-15 00:50 agang326
esICON.bmp
文件 1334 2009-06-15 00:50 agang326
esLivehost.bmp
文件 1771 2009-06-15 01:11 agang326326Dlg.h
文件 2005 2009-06-15 01:12 agang326Resource.h
文件 708 2009-06-14 00:50 agang326 agICMP.h
文件 6911 2007-02-02 14:35 agang326326.rc
文件 54236 2007-02-02 14:35 agang326326.aps
文件 12456 2007-02-02 17:12 agang326326Dlg.cpp
文件 17776 2007-02-02 17:12 agang326Debug326.res
............此处省略16个文件信息
版权声明:本文内容由互联网用户自发贡献,该文观点仅代表作者本人。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌抄袭侵权/违法违规的内容, 请发送邮件举报,一经查实,本站将立刻删除。
评论列表(条)