计算机网络高级软件编程技术第10章 滑动窗口协议模拟程序源代码.rar


计算机网络高级软件编程技术第10章 滑动窗口协议模拟程序源代码
资源截图
代码片段和文件信息
// Receiver.cpp : Defines the class behaviors for the application.
//

#include “stdafx.h“
#include “Receiver.h“
#include “ReceiverDlg.h“

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

/////////////////////////////////////////////////////////////////////////////
// CReceiverApp

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

/////////////////////////////////////////////////////////////////////////////
// CReceiverApp construction

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

/////////////////////////////////////////////////////////////////////////////
// The one and only CReceiverApp object

CReceiverApp theApp;

/////////////////////////////////////////////////////////////////////////////
// CReceiverApp initialization

BOOL CReceiverApp::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

CReceiverDlg 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;
}

 属性            大小     日期    时间   名称
----------- ---------  ---------- -----  ----

     文件        485  2007-04-16 15:03  第10章 滑动窗口协议模拟程序ReceiverCodeProtocol.h

     文件       3615  2007-04-12 08:56  第10章 滑动窗口协议模拟程序ReceiverCodeReadMe.txt

     文件      38476  2007-06-29 22:34  第10章 滑动窗口协议模拟程序ReceiverCodeReceiver.aps

     文件       2374  2007-06-30 09:05  第10章 滑动窗口协议模拟程序ReceiverCodeReceiver.clw

     文件       2185  2007-04-12 08:56  第10章 滑动窗口协议模拟程序ReceiverCodeReceiver.cpp

     文件       4233  2007-06-29 20:36  第10章 滑动窗口协议模拟程序ReceiverCodeReceiver.dsp

     文件        539  2007-04-12 08:56  第10章 滑动窗口协议模拟程序ReceiverCodeReceiver.dsw

     文件       1346  2007-04-12 08:56  第10章 滑动窗口协议模拟程序ReceiverCodeReceiver.h

     文件     107520  2007-06-30 09:06  第10章 滑动窗口协议模拟程序ReceiverCodeReceiver.ncb

     文件     100352  2007-06-30 09:06  第10章 滑动窗口协议模拟程序ReceiverCodeReceiver.opt

     文件       1985  2007-06-30 09:06  第10章 滑动窗口协议模拟程序ReceiverCodeReceiver.plg

     文件      15513  2007-06-30 08:00  第10章 滑动窗口协议模拟程序ReceiverCodeReceiverDlg.cpp

     文件       3133  2007-06-30 08:01  第10章 滑动窗口协议模拟程序ReceiverCodeReceiverDlg.h

     文件       1421  2007-04-18 16:24  第10章 滑动窗口协议模拟程序ReceiverCode
esource.h

     文件        210  2007-04-12 08:56  第10章 滑动窗口协议模拟程序ReceiverCodeStdAfx.cpp

     文件       1102  2007-04-12 08:56  第10章 滑动窗口协议模拟程序ReceiverCodeStdAfx.h

     文件    2134130  2007-06-30 09:06  第10章 滑动窗口协议模拟程序ReceiverExeReceiver.exe

     文件        485  2007-04-16 15:03  第10章 滑动窗口协议模拟程序SenderCodeProtocol.h

     文件       3579  2007-04-11 21:22  第10章 滑动窗口协议模拟程序SenderCodeReadMe.txt

     文件       1373  2007-04-16 20:52  第10章 滑动窗口协议模拟程序SenderCode
esource.h

     文件      38220  2007-06-29 15:35  第10章 滑动窗口协议模拟程序SenderCodeSender.aps

     文件       2256  2007-06-29 20:36  第10章 滑动窗口协议模拟程序SenderCodeSender.clw

     文件       2063  2007-04-16 16:05  第10章 滑动窗口协议模拟程序SenderCodeSender.cpp

     文件       4236  2007-06-29 20:37  第10章 滑动窗口协议模拟程序SenderCodeSender.dsp

     文件        535  2007-04-11 21:22  第10章 滑动窗口协议模拟程序SenderCodeSender.dsw

     文件       1324  2007-04-11 21:22  第10章 滑动窗口协议模拟程序SenderCodeSender.h

     文件     107520  2007-06-29 20:37  第10章 滑动窗口协议模拟程序SenderCodeSender.ncb

     文件     101376  2007-06-29 20:37  第10章 滑动窗口协议模拟程序SenderCodeSender.opt

     文件       1932  2007-06-29 20:36  第10章 滑动窗口协议模拟程序SenderCodeSender.plg

     文件      14760  2007-06-29 16:39  第10章 滑动窗口协议模拟程序SenderCodeSenderDlg.cpp

............此处省略17个文件信息

版权声明:本文内容由互联网用户自发贡献,该文观点仅代表作者本人。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌抄袭侵权/违法违规的内容, 请发送邮件举报,一经查实,本站将立刻删除。

发表评论

评论列表(条)