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

  • 大小: 47.28MB
    文件類型: .zip
    金幣: 1
    下載: 0 次
    發布日期: 2023-07-24
  • 語言: 其他
  • 標簽: P2P??

資源簡介

建立一個局域網內的簡單的P2P消息系統,程序既是服務器又是客戶端 用戶界面:界面上包括對等方列表;消息顯示列表;消息輸入框;文件傳輸進程顯示及操作按鈕或菜單

資源截圖

代碼片段和文件信息

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

#include?“stdafx.h“
#include?“Chat.h“
#include?“ChatDlg.h“

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

/////////////////////////////////////////////////////////////////////////////
//?CChatApp

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

/////////////////////////////////////////////////////////////////////////////
//?CChatApp?construction

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

/////////////////////////////////////////////////////////////////////////////
//?The?one?and?only?CChatApp?object

CChatApp?theApp;

/////////////////////////////////////////////////////////////////////////////
//?CChatApp?initialization

BOOL?CChatApp::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
CWinApp::SetDialogBkColor(RGB(210255180)RGB(00255));
CChatDlg?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??2019-01-14?11:54??VC6.0基于P2P的局域網即時通信系統\
?????文件??????147542??2010-02-25?14:45??VC6.0基于P2P的局域網即時通信系統\Chat.exe
?????目錄???????????0??2019-01-14?11:53??VC6.0基于P2P的局域網即時通信系統\Chat0222C\
?????目錄???????????0??2019-01-14?11:54??VC6.0基于P2P的局域網即時通信系統\Chat0222C\Backup\
?????文件???????26060??2019-01-06?19:30??VC6.0基于P2P的局域網即時通信系統\Chat0222C\Chat.aps
?????文件????????3472??2010-02-25?14:45??VC6.0基于P2P的局域網即時通信系統\Chat0222C\Chat.clw
?????文件????????2187??2010-02-25?14:45??VC6.0基于P2P的局域網即時通信系統\Chat0222C\Chat.cpp
?????文件????????4982??2010-02-25?14:45??VC6.0基于P2P的局域網即時通信系統\Chat0222C\Chat.dsp
?????文件?????????516??2010-02-25?14:45??VC6.0基于P2P的局域網即時通信系統\Chat0222C\Chat.dsw
?????文件????????1302??2010-02-25?14:45??VC6.0基于P2P的局域網即時通信系統\Chat0222C\Chat.h
?????文件??????377856??2010-02-25?14:45??VC6.0基于P2P的局域網即時通信系統\Chat0222C\Chat.ncb
?????文件???????56832??2010-02-25?14:45??VC6.0基于P2P的局域網即時通信系統\Chat0222C\Chat.opt
?????文件????????1271??2010-02-25?14:45??VC6.0基于P2P的局域網即時通信系統\Chat0222C\Chat.plg
?????文件????????8727??2010-02-25?14:45??VC6.0基于P2P的局域網即時通信系統\Chat0222C\Chat.rc
?????文件????72024064??2019-01-14?11:53??VC6.0基于P2P的局域網即時通信系統\Chat0222C\Chat.sdf
?????文件?????????953??2019-01-06?19:01??VC6.0基于P2P的局域網即時通信系統\Chat0222C\Chat.sln
?????文件???????20480??2019-01-14?11:53??VC6.0基于P2P的局域網即時通信系統\Chat0222C\Chat.v12.suo
?????文件????????8417??2019-01-06?19:02??VC6.0基于P2P的局域網即時通信系統\Chat0222C\Chat.vcxproj
?????文件????????3072??2019-01-06?19:02??VC6.0基于P2P的局域網即時通信系統\Chat0222C\Chat.vcxproj.filters
?????文件???????13105??2010-02-25?14:45??VC6.0基于P2P的局域網即時通信系統\Chat0222C\ChatDlg.cpp
?????文件????????1924??2010-02-25?14:45??VC6.0基于P2P的局域網即時通信系統\Chat0222C\ChatDlg.h
?????文件????????4665??2010-02-25?14:45??VC6.0基于P2P的局域網即時通信系統\Chat0222C\CtrlSocket.cpp
?????文件????????1281??2010-02-25?14:45??VC6.0基于P2P的局域網即時通信系統\Chat0222C\CtrlSocket.h
?????目錄???????????0??2019-01-14?11:52??VC6.0基于P2P的局域網即時通信系統\Chat0222C\Debug\
?????文件????????5257??2010-02-25?14:45??VC6.0基于P2P的局域網即時通信系統\Chat0222C\Debug\APPMODUL.obj
?????文件??????154112??2019-01-14?11:52??VC6.0基于P2P的局域網即時通信系統\Chat0222C\Debug\Chat.exe
?????文件?????1571568??2019-01-14?11:52??VC6.0基于P2P的局域網即時通信系統\Chat0222C\Debug\Chat.ilk
?????文件????????7407??2019-01-14?11:52??VC6.0基于P2P的局域網即時通信系統\Chat0222C\Debug\Chat.log
?????文件???????28216??2019-01-14?11:52??VC6.0基于P2P的局域網即時通信系統\Chat0222C\Debug\Chat.obj
?????文件???????43520??2010-02-25?14:45??VC6.0基于P2P的局域網即時通信系統\Chat0222C\Debug\Chat.opt
?????文件????29294592??2019-01-14?11:52??VC6.0基于P2P的局域網即時通信系統\Chat0222C\Debug\Chat.pch
............此處省略54個文件信息

評論

共有 條評論