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

  • 大小: 1.19MB
    文件類型: .zip
    金幣: 2
    下載: 0 次
    發布日期: 2023-08-27
  • 語言: 其他
  • 標簽: 00??

資源簡介

第9章 基于C_S結構的Socket程序設計****源程序

資源截圖

代碼片段和文件信息

#include?“stdafx.h“
#include?“ClientBySocket.h“
#include?“ClientBySocketDlg.h“

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

/////////////////////////////////////////////////////////////////////////////
//?CClientBySocketApp

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

/////////////////////////////////////////////////////////////////////////////
//?CClientBySocketApp?construction

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

/////////////////////////////////////////////////////////////////////////////
//?The?one?and?only?CClientBySocketApp?object

CClientBySocketApp?theApp;

/////////////////////////////////////////////////////////////////////////////
//?CClientBySocketApp?initialization

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

CClientBySocketDlg?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??2015-05-09?19:40??第9章?基于C_S結構的Socket程序設計\
?????目錄???????????0??2008-08-06?19:04??第9章?基于C_S結構的Socket程序設計\WSAAsyncSelect異步窗口程序\
?????目錄???????????0??2008-08-06?19:04??第9章?基于C_S結構的Socket程序設計\WSAAsyncSelect異步窗口程序\Client\
?????目錄???????????0??2015-05-09?19:40??第9章?基于C_S結構的Socket程序設計\WSAAsyncSelect異步窗口程序\Client\Code\
?????文件???????37648??2007-06-30?18:09??第9章?基于C_S結構的Socket程序設計\WSAAsyncSelect異步窗口程序\Client\Code\ClientBySocket.aps
?????文件????????1863??2007-07-01?01:05??第9章?基于C_S結構的Socket程序設計\WSAAsyncSelect異步窗口程序\Client\Code\ClientBySocket.clw
?????文件????????2189??2007-06-30?18:21??第9章?基于C_S結構的Socket程序設計\WSAAsyncSelect異步窗口程序\Client\Code\ClientBySocket.cpp
?????文件????????4310??2007-07-01?00:28??第9章?基于C_S結構的Socket程序設計\WSAAsyncSelect異步窗口程序\Client\Code\ClientBySocket.dsp
?????文件?????????553??2006-11-21?02:00??第9章?基于C_S結構的Socket程序設計\WSAAsyncSelect異步窗口程序\Client\Code\ClientBySocket.dsw
?????文件????????1412??2006-11-21?02:00??第9章?基于C_S結構的Socket程序設計\WSAAsyncSelect異步窗口程序\Client\Code\ClientBySocket.h
?????文件??????107520??2007-07-01?01:05??第9章?基于C_S結構的Socket程序設計\WSAAsyncSelect異步窗口程序\Client\Code\ClientBySocket.ncb
?????文件???????48640??2007-07-01?01:05??第9章?基于C_S結構的Socket程序設計\WSAAsyncSelect異步窗口程序\Client\Code\ClientBySocket.opt
?????文件????????2363??2007-07-01?01:02??第9章?基于C_S結構的Socket程序設計\WSAAsyncSelect異步窗口程序\Client\Code\ClientBySocket.plg
?????文件???????16958??2007-07-01?01:01??第9章?基于C_S結構的Socket程序設計\WSAAsyncSelect異步窗口程序\Client\Code\ClientBySocketDlg.cpp
?????文件????????3434??2007-07-01?00:51??第9章?基于C_S結構的Socket程序設計\WSAAsyncSelect異步窗口程序\Client\Code\ClientBySocketDlg.h
?????文件????????3723??2006-11-21?02:00??第9章?基于C_S結構的Socket程序設計\WSAAsyncSelect異步窗口程序\Client\Code\ReadMe.txt
?????文件?????????216??2006-11-21?02:00??第9章?基于C_S結構的Socket程序設計\WSAAsyncSelect異步窗口程序\Client\Code\StdAfx.cpp
?????文件????????1102??2006-11-21?20:56??第9章?基于C_S結構的Socket程序設計\WSAAsyncSelect異步窗口程序\Client\Code\StdAfx.h
?????文件????????1243??2006-11-22?19:09??第9章?基于C_S結構的Socket程序設計\WSAAsyncSelect異步窗口程序\Client\Code\resource.h
?????目錄???????????0??2015-05-09?19:40??第9章?基于C_S結構的Socket程序設計\WSAAsyncSelect異步窗口程序\Client\Exe\
?????文件?????2175127??2007-07-01?01:02??第9章?基于C_S結構的Socket程序設計\WSAAsyncSelect異步窗口程序\Client\Exe\ClientBySocket.exe
?????目錄???????????0??2008-08-06?19:04??第9章?基于C_S結構的Socket程序設計\WSAAsyncSelect異步窗口程序\Server\
?????目錄???????????0??2015-05-09?19:40??第9章?基于C_S結構的Socket程序設計\WSAAsyncSelect異步窗口程序\Server\Code\
?????文件????????3723??2006-11-21?01:03??第9章?基于C_S結構的Socket程序設計\WSAAsyncSelect異步窗口程序\Server\Code\ReadMe.txt
?????文件???????37064??2007-06-30?23:53??第9章?基于C_S結構的Socket程序設計\WSAAsyncSelect異步窗口程序\Server\Code\ServerBySocket.aps
?????文件????????1553??2007-07-01?01:05??第9章?基于C_S結構的Socket程序設計\WSAAsyncSelect異步窗口程序\Server\Code\ServerBySocket.clw
?????文件????????2189??2007-06-30?23:21??第9章?基于C_S結構的Socket程序設計\WSAAsyncSelect異步窗口程序\Server\Code\ServerBySocket.cpp
?????文件????????4282??2007-07-01?01:05??第9章?基于C_S結構的Socket程序設計\WSAAsyncSelect異步窗口程序\Server\Code\ServerBySocket.dsp
?????文件?????????553??2006-11-21?01:03??第9章?基于C_S結構的Socket程序設計\WSAAsyncSelect異步窗口程序\Server\Code\ServerBySocket.dsw
?????文件????????1412??2006-11-21?01:03??第9章?基于C_S結構的Socket程序設計\WSAAsyncSelect異步窗口程序\Server\Code\ServerBySocket.h
?????文件??????107520??2007-07-01?01:05??第9章?基于C_S結構的Socket程序設計\WSAAsyncSelect異步窗口程序\Server\Code\ServerBySocket.ncb
............此處省略38個文件信息

評論

共有 條評論