1、CMySocket类完全没有必要创建
2、这是把别人一个超复杂的端口扫描程序改写的,简化了一部分,还有很多设计粗糙的地方。
代码片段和文件信息
属性 大小 日期 时间 名称
----------- --------- ---------- ----- ----
文件 1676 2012-09-04 22:04 PortScanPortScanDlg.h
文件 5546 2012-09-04 22:28 PortScanPortScanDlg.cpp
文件 6286 2012-09-04 17:01 PortScanPortScan.rc
文件 35932 2012-09-04 17:01 PortScanPortScan.aps
文件 54784 2012-09-04 22:33 PortScanPortScan.opt
文件 1841 2012-09-04 22:30 PortScanPortScan.clw
文件 3615 2012-09-04 15:21 PortScanReadMe.txt
文件 1346 2012-09-04 15:21 PortScanPortScan.h
文件 2185 2012-09-04 15:21 PortScanPortScan.cpp
文件 4327 2012-09-04 17:03 PortScanPortScan.dsp
文件 133 2012-09-04 22:33 PortScan必读说明.txt
文件 1102 2012-09-04 15:21 PortScanStdAfx.h
文件 210 2012-09-04 15:21 PortScanStdAfx.cpp
文件 400 2012-09-04 15:21 PortScan
esPortScan.rc2
文件 1078 2012-09-04 15:21 PortScan
esPortScan.ico
目录 0 2012-09-04 15:21 PortScan
es
文件 522 2012-09-04 15:21 PortScanPortScan.dsw
文件 58368 2012-09-04 22:33 PortScanPortScan.ncb
文件 2952 2012-09-04 17:01 PortScanDebugPortScan.res
文件 28898 2012-09-04 22:28 PortScanDebugPortScanDlg.obj
文件 222208 2012-09-04 22:28 PortScanDebugvc60.idb
文件 5579276 2012-09-04 15:59 PortScanDebugPortScan.pch
文件 364544 2012-09-04 22:28 PortScanDebugvc60.pdb
文件 106497 2012-09-04 15:59 PortScanDebugStdAfx.obj
文件 6027 2012-09-04 15:59 PortScanDebugMySocket.obj
文件 242716 2012-09-04 22:28 PortScanDebugPortScan.ilk
文件 110654 2012-09-04 22:28 PortScanDebugPortScan.exe
文件 418816 2012-09-04 22:28 PortScanDebugPortScan.pdb
文件 15602 2012-09-04 22:06 PortScanDebugPortScan.obj
目录 0 2012-09-04 15:21 PortScanDebug
............此处省略8个文件信息
// MySocket.cpp : implementation file
//
#include “stdafx.h“
#include “PortScan.h“
#include “MySocket.h“
#ifdef _DEBUG
#define new DEBUG_NEW
#undef THIS_FILE
static char THIS_FILE[] = __FILE__;
#endif
/////////////////////////////////////////////////////////////////////////////
// CMySocket
CMySocket::CMySocket()
{
}
CMySocket::~CMySocket()
{
}
// Do not edit the following lines which are needed by ClassWizard.
#if 0
BEGIN_MESSAGE_MAP(CMySocket CSocket)
//{{AFX_MSG_MAP(CMySocket)
//}}AFX_MSG_MAP
END_MESSAGE_MAP()
#endif // 0
/////////////////////////////////////////////////////////////////////////////
// CMySocket member functions
void CMySocket::OnAccept(int nErrorCode)
{
// TODO: Add your specialized code here and/or call the base class
CSocket::OnAccept(nErrorCode);
}
属性 大小 日期 时间 名称
----------- --------- ---------- ----- ----
文件 1676 2012-09-04 22:04 PortScanPortScanDlg.h
文件 5546 2012-09-04 22:28 PortScanPortScanDlg.cpp
文件 6286 2012-09-04 17:01 PortScanPortScan.rc
文件 35932 2012-09-04 17:01 PortScanPortScan.aps
文件 54784 2012-09-04 22:33 PortScanPortScan.opt
文件 1841 2012-09-04 22:30 PortScanPortScan.clw
文件 3615 2012-09-04 15:21 PortScanReadMe.txt
文件 1346 2012-09-04 15:21 PortScanPortScan.h
文件 2185 2012-09-04 15:21 PortScanPortScan.cpp
文件 4327 2012-09-04 17:03 PortScanPortScan.dsp
文件 133 2012-09-04 22:33 PortScan必读说明.txt
文件 1102 2012-09-04 15:21 PortScanStdAfx.h
文件 210 2012-09-04 15:21 PortScanStdAfx.cpp
文件 400 2012-09-04 15:21 PortScan
esPortScan.rc2
文件 1078 2012-09-04 15:21 PortScan
esPortScan.ico
目录 0 2012-09-04 15:21 PortScan
es
文件 522 2012-09-04 15:21 PortScanPortScan.dsw
文件 58368 2012-09-04 22:33 PortScanPortScan.ncb
文件 2952 2012-09-04 17:01 PortScanDebugPortScan.res
文件 28898 2012-09-04 22:28 PortScanDebugPortScanDlg.obj
文件 222208 2012-09-04 22:28 PortScanDebugvc60.idb
文件 5579276 2012-09-04 15:59 PortScanDebugPortScan.pch
文件 364544 2012-09-04 22:28 PortScanDebugvc60.pdb
文件 106497 2012-09-04 15:59 PortScanDebugStdAfx.obj
文件 6027 2012-09-04 15:59 PortScanDebugMySocket.obj
文件 242716 2012-09-04 22:28 PortScanDebugPortScan.ilk
文件 110654 2012-09-04 22:28 PortScanDebugPortScan.exe
文件 418816 2012-09-04 22:28 PortScanDebugPortScan.pdb
文件 15602 2012-09-04 22:06 PortScanDebugPortScan.obj
目录 0 2012-09-04 15:21 PortScanDebug
............此处省略8个文件信息
版权声明:本文内容由互联网用户自发贡献,该文观点仅代表作者本人。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌抄袭侵权/违法违规的内容, 请发送邮件举报,一经查实,本站将立刻删除。
评论列表(条)