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

  • 大小: 5.53MB
    文件類型: .rar
    金幣: 2
    下載: 0 次
    發布日期: 2023-09-26
  • 語言: C/C++
  • 標簽: C++、socket??

資源簡介

基于socket的diffie-hellman密鑰交換協議的mfc實現,包含服務器端和客戶端,可以在本機通信,也可以在兩臺機器上進行密鑰交換。

資源截圖

代碼片段和文件信息

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

#include?“stdafx.h“
#include?“MFCCL.h“
#include?“MFCCLDlg.h“

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

/////////////////////////////////////////////////////////////////////////////
//?CMFCCLApp

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

/////////////////////////////////////////////////////////////////////////////
//?CMFCCLApp?construction

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

/////////////////////////////////////////////////////////////////////////////
//?The?one?and?only?CMFCCLApp?object

CMFCCLApp?theApp;

/////////////////////////////////////////////////////////////////////////////
//?CMFCCLApp?initialization

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

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

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

?????文件?????114779??2016-06-23?22:31??diffie-hellman密鑰交換協議\MFCCLI\Debug\MFCCL.exe

?????文件?????309196??2016-06-23?22:31??diffie-hellman密鑰交換協議\MFCCLI\Debug\MFCCL.ilk

?????文件??????16744??2016-06-23?22:31??diffie-hellman密鑰交換協議\MFCCLI\Debug\MFCCL.obj

?????文件????5714420??2016-06-23?15:32??diffie-hellman密鑰交換協議\MFCCLI\Debug\MFCCL.pch

?????文件?????410624??2016-06-23?22:31??diffie-hellman密鑰交換協議\MFCCLI\Debug\MFCCL.pdb

?????文件???????3524??2016-06-23?21:58??diffie-hellman密鑰交換協議\MFCCLI\Debug\MFCCL.res

?????文件??????42351??2016-06-23?22:31??diffie-hellman密鑰交換協議\MFCCLI\Debug\MFCCLDlg.obj

?????文件???????8767??2016-06-23?22:31??diffie-hellman密鑰交換協議\MFCCLI\Debug\SocketClient.obj

?????文件?????106768??2016-06-23?15:32??diffie-hellman密鑰交換協議\MFCCLI\Debug\StdAfx.obj

?????文件?????361472??2016-06-23?22:31??diffie-hellman密鑰交換協議\MFCCLI\Debug\vc60.idb

?????文件?????372736??2016-06-23?22:31??diffie-hellman密鑰交換協議\MFCCLI\Debug\vc60.pdb

?????文件??????37392??2016-06-23?21:58??diffie-hellman密鑰交換協議\MFCCLI\MFCCL.APS

?????文件???????2211??2016-06-23?22:32??diffie-hellman密鑰交換協議\MFCCLI\MFCCL.clw

?????文件???????2143??2014-03-13?15:12??diffie-hellman密鑰交換協議\MFCCLI\MFCCL.cpp

?????文件???????4277??2014-03-13?15:34??diffie-hellman密鑰交換協議\MFCCLI\MFCCL.dsp

?????文件????????518??2014-03-13?15:12??diffie-hellman密鑰交換協議\MFCCLI\MFCCL.dsw

?????文件???????1313??2014-03-13?15:12??diffie-hellman密鑰交換協議\MFCCLI\MFCCL.h

?????文件??????74752??2016-06-23?22:32??diffie-hellman密鑰交換協議\MFCCLI\MFCCL.ncb

?????文件??????49664??2016-06-23?22:32??diffie-hellman密鑰交換協議\MFCCLI\MFCCL.opt

?????文件???????1234??2016-06-23?22:31??diffie-hellman密鑰交換協議\MFCCLI\MFCCL.plg

?????文件???????7202??2016-06-23?21:58??diffie-hellman密鑰交換協議\MFCCLI\MFCCL.rc

?????文件???????8690??2016-06-23?22:31??diffie-hellman密鑰交換協議\MFCCLI\MFCCLDlg.cpp

?????文件???????2061??2016-06-23?22:30??diffie-hellman密鑰交換協議\MFCCLI\MFCCLDlg.h

?????文件???????3561??2014-03-13?15:12??diffie-hellman密鑰交換協議\MFCCLI\ReadMe.txt

?????文件???????1078??2014-03-13?15:12??diffie-hellman密鑰交換協議\MFCCLI\res\MFCCL.ico

?????文件????????397??2014-03-13?15:12??diffie-hellman密鑰交換協議\MFCCLI\res\MFCCL.rc2

?????文件???????1418??2016-06-23?21:58??diffie-hellman密鑰交換協議\MFCCLI\resource.h

?????文件???????1438??2014-03-15?09:07??diffie-hellman密鑰交換協議\MFCCLI\SocketClient.cpp

?????文件???????1423??2014-03-14?13:19??diffie-hellman密鑰交換協議\MFCCLI\SocketClient.h

?????文件????????207??2014-03-13?15:12??diffie-hellman密鑰交換協議\MFCCLI\StdAfx.cpp

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

評論

共有 條評論

相關資源