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

資源簡介

實現點對點通信,可直接運行,方便快捷,可擴展性強,適合初學者使用。

資源截圖

代碼片段和文件信息

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

#include?“stdafx.h“
#include?“EchoServer.h“
#include?“EchoServerDlg.h“

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

/////////////////////////////////////////////////////////////////////////////
//?CEchoServerApp

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

/////////////////////////////////////////////////////////////////////////////
//?CEchoServerApp?construction

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

/////////////////////////////////////////////////////////////////////////////
//?The?one?and?only?CEchoServerApp?object

CEchoServerApp?theApp;

/////////////////////////////////////////////////////////////////////////////
//?CEchoServerApp?initialization

BOOL?CEchoServerApp::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
?????
????if(AfxSocketInit()==FALSE)
{
AfxMessageBox(“Sockets?Could?Not?Be?Initialized“);
return?FALSE;
}
CEchoServerDlg?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;
}

?屬性????????????大小?????日期????時間???名稱
-----------?---------??----------?-----??----
?????文件???????21388??2005-11-10?16:13??EchoServer\EchoServer.aps
?????文件????????1567??2005-11-10?16:13??EchoServer\EchoServer.clw
?????文件????????2235??2005-11-09?16:23??EchoServer\EchoServer.cpp
?????文件????????4367??2005-11-09?15:58??EchoServer\EchoServer.dsp
?????文件?????????545??2005-11-09?15:51??EchoServer\EchoServer.dsw
?????文件????????1368??2005-11-09?15:51??EchoServer\EchoServer.h
?????文件???????66560??2005-11-10?16:13??EchoServer\EchoServer.ncb
?????文件???????53760??2005-11-10?16:13??EchoServer\EchoServer.opt
?????文件????????1989??2005-11-10?16:13??EchoServer\EchoServer.plg
?????文件????????5647??2005-11-10?11:36??EchoServer\EchoServer.rc
?????文件????????6203??2005-11-09?18:06??EchoServer\EchoServerDlg.cpp
?????文件????????1649??2005-11-09?16:56??EchoServer\EchoServerDlg.h
?????文件????????2032??2005-11-10?11:48??EchoServer\MyEchoSocket.cpp
?????文件????????1467??2005-11-09?18:06??EchoServer\MyEchoSocket.h
?????文件????????3651??2005-11-09?15:51??EchoServer\ReadMe.txt
?????目錄???????????0??2005-11-10?16:14??EchoServer\Release\
?????文件???????24576??2005-11-10?16:13??EchoServer\Release\EchoServer.exe
?????目錄???????????0??2005-11-10?11:56??EchoServer\res\
?????文件????????1078??2005-11-09?15:51??EchoServer\res\EchoServer.ico
?????文件?????????402??2005-11-09?15:51??EchoServer\res\EchoServer.rc2
?????文件?????????872??2005-11-09?16:42??EchoServer\resource.h
?????文件?????????212??2005-11-09?15:51??EchoServer\StdAfx.cpp
?????文件????????1074??2005-11-09?16:35??EchoServer\StdAfx.h
?????目錄???????????0??2005-11-10?16:14??EchoServer\

評論

共有 條評論