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

  • 大小: 80KB
    文件類型: .rar
    金幣: 2
    下載: 0 次
    發(fā)布日期: 2021-05-11
  • 語言: 其他
  • 標(biāo)簽: mfc??CAsyncSocket??

資源簡介

使用CAsyncSocket完成的客戶端和服務(wù)端通訊示例程序源代碼

資源截圖

代碼片段和文件信息

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

#include?“stdafx.h“
#include?“AsyncServer.h“
#include?“AsyncServerDlg.h“

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

/////////////////////////////////////////////////////////////////////////////
//?CAsyncServerApp

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

/////////////////////////////////////////////////////////////////////////////
//?CAsyncServerApp?construction

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

/////////////////////////////////////////////////////////////////////////////
//?The?one?and?only?CAsyncServerApp?object

CAsyncServerApp?theApp;

/////////////////////////////////////////////////////////////////////////////
//?CAsyncServerApp?initialization

BOOL?CAsyncServerApp::InitInstance()
{
if?(!AfxSocketInit())
{
AfxMessageBox(IDP_SOCKETS_INIT_FAILED);
return?FALSE;
}

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

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

?屬性????????????大小?????日期????時間???名稱
-----------?---------??----------?-----??----

?????文件??????22916??2009-07-15?16:16??使用CAsyncSocket完成的客戶端和服務(wù)端通訊示例程序源代碼\AsyncClient\AsyncClient.aps

?????文件???????1531??1998-03-27?15:24??使用CAsyncSocket完成的客戶端和服務(wù)端通訊示例程序源代碼\AsyncClient\AsyncClient.clw

?????文件???????2227??1998-03-24?14:17??使用CAsyncSocket完成的客戶端和服務(wù)端通訊示例程序源代碼\AsyncClient\AsyncClient.cpp

?????文件???????4580??1998-07-27?16:21??使用CAsyncSocket完成的客戶端和服務(wù)端通訊示例程序源代碼\AsyncClient\AsyncClient.dsp

?????文件???????1387??1998-03-24?14:17??使用CAsyncSocket完成的客戶端和服務(wù)端通訊示例程序源代碼\AsyncClient\AsyncClient.h

?????文件???????1865??1998-07-28?15:16??使用CAsyncSocket完成的客戶端和服務(wù)端通訊示例程序源代碼\AsyncClient\AsyncClient.plg

?????文件???????5892??1998-03-27?14:26??使用CAsyncSocket完成的客戶端和服務(wù)端通訊示例程序源代碼\AsyncClient\AsyncClient.rc

?????文件???????8331??2009-07-15?16:17??使用CAsyncSocket完成的客戶端和服務(wù)端通訊示例程序源代碼\AsyncClient\AsyncClient.vcproj

?????文件???????1401??2009-07-15?16:47??使用CAsyncSocket完成的客戶端和服務(wù)端通訊示例程序源代碼\AsyncClient\AsyncClient.vcproj.WT.Administrator.user

?????文件???????9034??2009-07-15?16:45??使用CAsyncSocket完成的客戶端和服務(wù)端通訊示例程序源代碼\AsyncClient\AsyncClientDlg.cpp

?????文件???????1947??1998-07-24?11:42??使用CAsyncSocket完成的客戶端和服務(wù)端通訊示例程序源代碼\AsyncClient\AsyncClientDlg.h

?????文件???????2304??1998-07-28?13:09??使用CAsyncSocket完成的客戶端和服務(wù)端通訊示例程序源代碼\AsyncClient\ClientT.cpp

?????文件???????1727??1998-07-28?14:35??使用CAsyncSocket完成的客戶端和服務(wù)端通訊示例程序源代碼\AsyncClient\ClientT.h

?????文件???????6855??1998-07-28?14:31??使用CAsyncSocket完成的客戶端和服務(wù)端通訊示例程序源代碼\AsyncClient\CONNECTS.CPP

?????文件???????2223??1998-07-28?14:35??使用CAsyncSocket完成的客戶端和服務(wù)端通訊示例程序源代碼\AsyncClient\CONNECTS.H

?????文件???????3438??1998-03-24?14:17??使用CAsyncSocket完成的客戶端和服務(wù)端通訊示例程序源代碼\AsyncClient\ReadMe.txt

?????文件???????1078??1998-03-24?14:17??使用CAsyncSocket完成的客戶端和服務(wù)端通訊示例程序源代碼\AsyncClient\res\AsyncClient.ico

?????文件????????403??1998-03-24?14:17??使用CAsyncSocket完成的客戶端和服務(wù)端通訊示例程序源代碼\AsyncClient\res\AsyncClient.rc2

?????文件???????1056??1998-03-27?14:11??使用CAsyncSocket完成的客戶端和服務(wù)端通訊示例程序源代碼\AsyncClient\resource.h

?????文件????????209??1998-03-24?14:17??使用CAsyncSocket完成的客戶端和服務(wù)端通訊示例程序源代碼\AsyncClient\StdAfx.cpp

?????文件???????1320??2009-07-15?16:17??使用CAsyncSocket完成的客戶端和服務(wù)端通訊示例程序源代碼\AsyncClient\StdAfx.h

?????文件??????35764??1998-03-26?19:39??使用CAsyncSocket完成的客戶端和服務(wù)端通訊示例程序源代碼\AsyncServer.aps

?????文件???????1874??1998-03-27?12:18??使用CAsyncSocket完成的客戶端和服務(wù)端通訊示例程序源代碼\AsyncServer.clw

?????文件???????2227??1998-03-23?14:52??使用CAsyncSocket完成的客戶端和服務(wù)端通訊示例程序源代碼\AsyncServer.cpp

?????文件???????4762??1998-07-27?16:21??使用CAsyncSocket完成的客戶端和服務(wù)端通訊示例程序源代碼\AsyncServer.dsp

?????文件????????754??1998-03-24?14:17??使用CAsyncSocket完成的客戶端和服務(wù)端通訊示例程序源代碼\AsyncServer.dsw

?????文件???????1387??1998-03-23?14:52??使用CAsyncSocket完成的客戶端和服務(wù)端通訊示例程序源代碼\AsyncServer.h

?????文件??????87040??1998-07-29?11:43??使用CAsyncSocket完成的客戶端和服務(wù)端通訊示例程序源代碼\AsyncServer.opt

?????文件???????1848??1998-07-28?15:07??使用CAsyncSocket完成的客戶端和服務(wù)端通訊示例程序源代碼\AsyncServer.plg

?????文件???????5817??1998-03-26?19:39??使用CAsyncSocket完成的客戶端和服務(wù)端通訊示例程序源代碼\AsyncServer.rc

............此處省略27個文件信息

評論

共有 條評論