91av视频/亚洲h视频/操亚洲美女/外国一级黄色毛片 - 国产三级三级三级三级

  • 大小: 132KB
    文件類型: .zip
    金幣: 2
    下載: 0 次
    發布日期: 2021-05-26
  • 語言: C/C++
  • 標簽: mfc??socket??select模式??

資源簡介

遠程文件下載--select模式,mfc socket select模式,VS2010工程創建 效果圖:http://blog.csdn.net/ouyangshima/article/details/8982582

資源截圖

代碼片段和文件信息

//?Client.cpp?:?Defines?the?class?behaviors?for?the?application.
//

#include?“stdafx.h“
#include?“Client.h“
#include?“ClientDlg.h“

#ifdef?_DEBUG
#define?new?DEBUG_NEW
#undef?THIS_FILE
static?char?THIS_FILE[]?=?__FILE__;
#endif

/////////////////////////////////////////////////////////////////////////////
//?CClientApp

BEGIN_MESSAGE_MAP(CClientApp?CWinApp)
//{{AFX_MSG_MAP(CClientApp)
//?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()

/////////////////////////////////////////////////////////////////////////////
//?CClientApp?construction

CClientApp::CClientApp()
{
//?TODO:?add?construction?code?here
//?Place?all?significant?initialization?in?InitInstance
}

/////////////////////////////////////////////////////////////////////////////
//?The?one?and?only?CClientApp?object

CClientApp?theApp;

/////////////////////////////////////////////////////////////////////////////
//?CClientApp?initialization

BOOL?CClientApp::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

CClientDlg?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;
}

?屬性????????????大小?????日期????時間???名稱
-----------?---------??----------?-----??----
?????目錄???????????0??2013-05-31?19:21??Client\
?????文件????????1622??2007-11-17?11:04??Client\Client.clw
?????文件????????2063??2007-11-04?10:40??Client\Client.cpp
?????文件????????4160??2007-11-05?16:21??Client\Client.dsp
?????文件?????????537??2008-03-07?15:17??Client\Client.dsw
?????文件????????1871??2013-05-31?18:53??Client\Client.h
?????文件????????6409??2007-11-17?08:44??Client\Client.rc
?????文件?????????878??2013-05-31?19:18??Client\Client.sln
?????文件???????37888??2013-05-31?19:18??Client\Client.suo
?????文件????????7775??2013-05-27?21:23??Client\Client.vcxproj
?????文件????????1905??2013-05-27?21:23??Client\Client.vcxproj.filters
?????文件?????????143??2013-05-27?21:23??Client\Client.vcxproj.user
?????文件???????30009??2013-05-31?19:09??Client\ClientDlg.cpp
?????文件????????4329??2007-11-17?11:00??Client\ClientDlg.h
?????目錄???????????0??2013-05-31?19:23??Client\Debug\
?????文件??????136192??2013-05-31?19:22??Client\Debug\Client.exe
?????文件?????????208??2007-11-04?10:40??Client\StdAfx.cpp
?????文件????????2109??2007-11-10?23:53??Client\StdAfx.h
?????目錄???????????0??2013-05-31?19:21??Client\res\
?????文件????????1078??2007-11-04?10:40??Client\res\Client.ico
?????文件?????????398??2007-11-04?10:40??Client\res\Client.rc2
?????文件????????1145??2007-11-15?22:50??Client\resource.h
?????目錄???????????0??2013-05-31?19:23??Server\
?????文件???????14202??2013-05-31?10:06??Server\Client.cpp
?????文件????????2409??2013-05-31?10:04??Server\Client.h
?????目錄???????????0??2013-05-31?19:23??Server\Debug\
?????文件??????136192??2013-05-31?19:22??Server\Debug\Server.exe
?????文件????????3596??2013-05-31?02:03??Server\SelectModeServer.cpp
?????文件????????1217??2007-11-15?21:52??Server\Server.clw
?????文件????????2063??2007-11-04?10:24??Server\Server.cpp
?????文件????????4284??2008-03-07?15:42??Server\Server.dsp
............此處省略17個文件信息

評論

共有 條評論