资源简介
端口扫描,课程设计,非常完整的代码
计算机的朋友可以参考一下
代码片段和文件信息
// PortScan.cpp : Defines the class behaviors for the application.
#include “StdAfx.h“
#include “PortScan.h“
#include “PortScanDlg.h“
#ifdef _DEBUG
#define new DEBUG_NEW
#undef THIS_FILE
static char THIS_FILE[] = __FILE__;
#endif
#pragma comment(lib“SkinPPWTL.lib“)
/////////////////////////////////////////////////////////////////////////////
// CPortScanApp
BEGIN_MESSAGE_MAP(CPortScanApp CWinApp)
//{{AFX_MSG_MAP(CPortScanApp)
// 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()
/////////////////////////////////////////////////////////////////////////////
// CPortScanApp construction
CPortScanApp::CPortScanApp()
{
// TODO: add construction code here
// Place all significant initialization in InitInstance
}
/////////////////////////////////////////////////////////////////////////////
// The one and only CPortScanApp object
CPortScanApp theApp;
/////////////////////////////////////////////////////////////////////////////
// CPortScanApp initialization
BOOL CPortScanApp::InitInstance()
{
if (!AfxSocketInit())
{
AfxMessageBox(IDP_SOCKETS_INIT_FAILED);
return FALSE;
}
skinppLoadSkin(_T(“Phenom.ssk“));//Longhorn5203.ssk
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
CPortScanDlg 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;
}
属性 大小 日期 时间 名称
----------- --------- ---------- ----- ----
文件 120494 2005-10-26 11:09 PortScan\Debug\Longhorn5203.ssk
文件 53647 2005-10-25 16:11 PortScan\Debug\Phenom.ssk
文件 434252 2009-04-19 19:04 PortScan\Debug\PortScan.exe
文件 267128 2009-04-19 19:04 PortScan\Debug\PortScan.ilk
文件 13178 2009-04-19 19:04 PortScan\Debug\PortScan.obj
文件 5707196 2009-04-19 19:04 PortScan\Debug\PortScan.pch
文件 435200 2009-04-19 19:04 PortScan\Debug\PortScan.pdb
文件 270320 2007-01-23 10:33 PortScan\Debug\PortScan.res
文件 52851 2009-04-19 19:04 PortScan\Debug\PortScanDlg.obj
文件 3858 2004-07-13 22:05 PortScan\Debug\SkinPlusPlus.h
文件 548944 2005-12-09 15:37 PortScan\Debug\SkinPPWTL.dll
文件 26410 2005-11-04 12:19 PortScan\Debug\SkinPPWTL.lib
文件 107141 2009-04-19 19:04 PortScan\Debug\StdAfx.obj
文件 336896 2009-04-19 19:04 PortScan\Debug\vc60.idb
文件 372736 2009-04-19 19:04 PortScan\Debug\vc60.pdb
文件 53647 2005-10-25 16:11 PortScan\Phenom.ssk
文件 290240 2009-08-31 00:38 PortScan\PortScan.aps
文件 2275 2009-05-30 17:16 PortScan\PortScan.cpp
文件 358 2004-06-23 14:02 PortScan\PortScan.dep
文件 4388 2007-01-23 10:26 PortScan\PortScan.dsp
文件 541 2004-06-17 11:29 PortScan\PortScan.dsw
文件 1346 2004-06-17 11:29 PortScan\PortScan.h
文件 5841 2004-06-23 14:02 PortScan\PortScan.mak
文件 82944 2009-08-31 00:38 PortScan\PortScan.ncb
文件 49664 2009-08-31 00:38 PortScan\PortScan.opt
文件 948 2009-05-30 17:16 PortScan\PortScan.plg
文件 6614 2007-01-23 10:31 PortScan\PortScan.rc
文件 11212 2007-01-23 10:52 PortScan\PortScanDlg.cpp
文件 2173 2004-06-23 14:42 PortScan\PortScanDlg.h
文件 3615 2004-06-17 11:29 PortScan\ReadMe.txt
............此处省略28个文件信息
- 上一篇:坦克大战素材包
- 下一篇:BehaviorDesigner1.6.1
评论
共有 条评论