资源简介
用VC 6.0实现的IP端口扫描,绝对能用。需要的下。
代码片段和文件信息
// ScanPort.cpp : Defines the class behaviors for the application.
//
#include “stdafx.h“
#include “ScanPort.h“
#include “ScanPortDlg.h“
#ifdef _DEBUG
#define new DEBUG_NEW
#undef THIS_FILE
static char THIS_FILE[] = __FILE__;
#endif
/////////////////////////////////////////////////////////////////////////////
// CScanPortApp
BEGIN_MESSAGE_MAP(CScanPortApp CWinApp)
//{{AFX_MSG_MAP(CScanPortApp)
// 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()
/////////////////////////////////////////////////////////////////////////////
// CScanPortApp construction
CScanPortApp::CScanPortApp()
{
// TODO: add construction code here
// Place all significant initialization in InitInstance
}
/////////////////////////////////////////////////////////////////////////////
// The one and only CScanPortApp object
CScanPortApp theApp;
/////////////////////////////////////////////////////////////////////////////
// CScanPortApp initialization
BOOL CScanPortApp::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
AfxSocketInit(NULL);
CScanPortDlg 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;
}
属性 大小 日期 时间 名称
----------- --------- ---------- ----- ----
文件 3163136 2009-08-01 15:28 ScanPort\Debug\ScanPort.bsc
文件 110682 2009-08-01 15:28 ScanPort\Debug\ScanPort.exe
文件 221744 2009-08-01 15:28 ScanPort\Debug\ScanPort.ilk
文件 14913 2009-08-01 15:28 ScanPort\Debug\ScanPort.obj
文件 7025140 2009-08-01 15:28 ScanPort\Debug\ScanPort.pch
文件 386048 2009-08-01 15:28 ScanPort\Debug\ScanPort.pdb
文件 2824 2009-08-01 15:08 ScanPort\Debug\ScanPort.res
文件 0 2009-08-01 15:28 ScanPort\Debug\ScanPort.sbr
文件 33647 2009-08-01 15:28 ScanPort\Debug\ScanPortDlg.obj
文件 0 2009-08-01 15:28 ScanPort\Debug\ScanPortDlg.sbr
文件 106804 2009-08-01 15:28 ScanPort\Debug\StdAfx.obj
文件 1391564 2009-08-01 15:28 ScanPort\Debug\StdAfx.sbr
文件 205824 2009-08-01 15:29 ScanPort\Debug\vc60.idb
文件 364544 2009-08-01 15:28 ScanPort\Debug\vc60.pdb
文件 3615 2008-04-27 10:15 ScanPort\ReadMe.txt
文件 1078 2008-04-27 10:15 ScanPort\res\ScanPort.ico
文件 400 2008-04-27 10:15 ScanPort\res\ScanPort.rc2
文件 6144 2008-05-28 16:59 ScanPort\res\Thumbs.db
文件 916 2008-04-27 10:21 ScanPort\resource.h
文件 21340 2009-08-01 15:08 ScanPort\ScanPort.aps
文件 1410 2009-08-01 15:19 ScanPort\ScanPort.clw
文件 2114 2008-04-27 10:38 ScanPort\ScanPort.cpp
文件 4195 2008-04-27 10:15 ScanPort\ScanPort.dsp
文件 541 2008-04-27 10:15 ScanPort\ScanPort.dsw
文件 1346 2008-04-27 10:15 ScanPort\ScanPort.h
文件 41984 2009-08-01 15:32 ScanPort\ScanPort.ncb
文件 568832 2009-08-01 15:32 ScanPort\ScanPort.opt
文件 250 2009-08-01 15:29 ScanPort\ScanPort.plg
文件 5749 2008-04-27 10:21 ScanPort\ScanPort.rc
文件 5938 2009-08-01 15:22 ScanPort\ScanPortDlg.cpp
............此处省略9个文件信息
评论
共有 条评论