========================================================================
MICROSOFT FOUNDATION CLASS LIBRARY : network_bridge
========================================================================
AppWizard has created this network_bridge application for you. This application
not only demonstrates the basics of using the Microsoft Foundation classes
but is also a starting point for writing your application.
This file contains a summary of what you will find in each of the files that
make up your network_bridge application.
network_bridge.dsp
This file (the project file) contains information at the project level and
is used to build a single project or subproject. Other users can share the
project (.dsp) file, but they should export the makefiles locally.
network_bridge.h
This is the main header file for the application. It includes other
project specific headers (including Resource.h) and declares the
CNetwork_bridgeApp application class.
network_bridge.cpp
This is the main application source file that contains the application
class CNetwork_bridgeApp.
network_bridge.rc
This is a listing of all of the Microsoft Windows resources that the
program uses. It includes the icons, bitmaps, and cursors that are stored
in the RES subdirectory. This file can be directly edited in Microsoft
Visual C++.
network_bridge.clw
This file contains information used by ClassWizard to edit existing
classes or add new classes. ClassWizard also uses this file to store
information needed to create and edit message maps and dialog data
maps and to create prototype member functions.
res\network_bridge.ico
This is an icon file, which is used as the application's icon. This
icon is included by the main resource file network_bridge.rc.
res\network_bridge.rc2
This file contains resources that are not edited by Microsoft
Visual C++. You should place all resources not editable by
the resource editor in this file.
/////////////////////////////////////////////////////////////////////////////
AppWizard creates one dialog class:
network_bridgeDlg.h, network_bridgeDlg.cpp - the dialog
These files contain your CNetwork_bridgeDlg class. This class defines
the behavior of your application's main dialog. The dialog's
template is in network_bridge.rc, which can be edited in Microsoft
Visual C++.
/////////////////////////////////////////////////////////////////////////////
Other standard files:
StdAfx.h, StdAfx.cpp
These files are used to build a precompiled header (PCH) file
named network_bridge.pch and a precompiled types file named StdAfx.obj.
Resource.h
This is the standard header file, which defines new resource IDs.
Microsoft Visual C++ reads and updates this file.
/////////////////////////////////////////////////////////////////////////////
Other notes:
AppWizard uses "TODO:" to indicate parts of the source code you
should add to or customize.
If your application uses MFC in a shared DLL, and your application is
in a language other than the operating system's current language, you
will need to copy the corresponding localized resources MFC42XXX.DLL
from the Microsoft Visual C++ CD-ROM onto the system or system32 directory,
and rename it to be MFCLOC.DLL. ("XXX" stands for the language abbreviation.
For example, MFC42DEU.DLL contains resources translated to German.) If you
don't do this, some of the UI elements of your application will remain in the
language of the operating system.
/////////////////////////////////////////////////////////////////////////////
没有合适的资源?快使用搜索试试~ 我知道了~
实现MFC界面的模拟网桥功能程序

共31个文件
h:4个
txt:4个
cpp:3个


温馨提示
本程序前期使用C++编码实现主要功能,后期使用MFC界面编程完成界面设计;文件里面写有算法描述,在核心代码处都添加了注释,不足之处在于增删网段部分尚有缺陷(主要是CString向Char类型转换时的问题)。 模拟实现网桥的转发功能,以从文件中读取帧模拟网桥从网络中收到一帧,即从两个文件中读入一系列帧,从第一个文件中读入一帧然后从第二个文件中再读入一帧,如此下去。对每一帧,显示网桥是否会转发。 要求:Windows或Linux环境下运行,程序应在单机上运行。 分析:用程序模拟网桥功能,可以假定用两个文件分别代表两个网段上的网络帧数据。而两个文件中的数据应具有帧的特征,即有目的地址,源地址和帧内数据。程序交替读入帧的数据,就相当于网桥从网段中得到帧数据,当然如果模拟的数据量比较少,也可以用两个数组代替两个文件存放帧数据,同样达到代表两个网段上的帧数据的效果。
资源推荐
资源详情
资源评论






























收起资源包目录



































共 31 条
- 1
资源评论

- iamcanyue20112014-12-15正好需要做这个实验,谢谢这份参考资料。

xuan_lin
- 粉丝: 1
上传资源 快速赚钱
我的内容管理 展开
我的资源 快来上传第一个资源
我的收益
登录查看自己的收益我的积分 登录查看自己的积分
我的C币 登录后查看C币余额
我的收藏
我的下载
下载帮助


最新资源
- SQL实训图书管理.doc
- 飞机钣金成形信息化的关键技术解决路径.docx
- ADPCM的语音编解码设计方案.doc
- 《单片机应用与仿真训练》设计报告:单片机的遥控窗帘.doc
- 历年计算机二级MS-Office真题.docx
- 利用BIOSIS-PREVIEWS.ppt
- 数据库原理课程设计模板.doc
- DICEPXAEP嵌入式优秀教学实验系统.doc
- ACCESS课程设计要求与选题.doc
- 互联网+时代的平面设计理念.docx
- 大数据时代政策预测的挑战及应对.docx
- 区块链技术对我国体育产业发展的影响研究.docx
- 农村家庭迈向信息化实现策略研究分析方案.doc
- ppt模板电子商务总结汇报类PPT模板.pptx
- §1电子商务概述21.ppt
- 大力推进智慧城市建设-将现代化国际港口城市建设推向新阶段.ppt
资源上传下载、课程学习等过程中有任何疑问或建议,欢迎提出宝贵意见哦~我们会及时处理!
点击此处反馈



安全验证
文档复制为VIP权益,开通VIP直接复制
