网站导航免费论文 原创论文 论文搜索 原创论文 网学软件 学术大家 资料中心 会员中心 问题解答 原创论文 大学论文导航 设计下载 最新论文 下载排行 原创论文
返回网学首页
网学联系
最新论文 推荐专题 热门论文 素材专题
当前位置: 网学 > 编程文档 > VC++ > 正文

实验室计算机IP地址自动设置程序—--服务器端的设计与实现

来源:http://myeducs.cn 联系QQ:点击这里给我发消息 作者: 用户投稿 来源: 网络 发布时间: 16/01/15

本文主要为广大网友提供“实验室计算机IP地址自动设置程序—--服务器端的设计与实现”,希望对需要实验室计算机IP地址自动设置程序—--服务器端的设计与实现网友有所帮助,学习一下!

包括论文,设计,论文字数:7797,页数:24

  摘  要
IP地址的分配和管理是实验室管理员比较重视的一个问题,而大部分管理员都采用的是DHCP技术来实现,虽然DHCP技术可以为用户接入网络提供方便,但还存在一些弊端,例如:IP地址具有随机性,用户的IP地址是随机分配的,具有不确定性等等。本系统的主要功能就是实现对实验室计算机IP地址的静态分配,从而解决DHCP技术的一些缺陷。主要实现方法为:对有请求的客户端的网卡地址和分配给其的IP地址进行记录,通过网卡地址来标识某一具体主机,当其再有请求到达时,分配给其已经记录的IP地址,以实现分配给客户端固定IP地址的功能。若要手工实现对客户端IP地址的静态分配,可直接在数据库中根据网卡地址修改对应的IP地址即可。IP地址的设置由客户端实现。程序的开发工具为VC++6.0,连接数据库方式为ADO方式,为了优化系统性能和使客户端的请求不阻塞,采用了多线程技术。

关键词:ADO;多线程;网络广播;网络编程
the Automatic IP Address Configuration Software for Lab
—— the Design and Implementation of the Server-side program
Abstract
More and more laboratory managers care about the IP address allocation and management problem. Most administrators are using DHCP to resolve it. Although DHCP technology can provide users convenient access to network, but there are some drawbacks, such as the random IP address. This causes the user''s IP address is distributed randomly, with uncertainty. The main function of the system is to achieve the static IP address allocation of the laboratory computers. It remedies the DHCP technology’s drawbacks. The system uses some network technology. It records the MAC address and the allocated IP address of the client who send the request packet to server by LAN. Through identifying a host by the specific MAC address, when the same request arrived, the same IP addresses shall be allocated again, which achieves the function that the client shall be allocated to the fixed IP addresses. If users need to manually allocate the IP address, they can modify the IP addresses that correspond to MAC address. IP addresses are set by the client system. Program development tools is Visual C + + 6.0, access the database with ADO, to optimize system performance. To avoid the block of client requests, multithread technology is used.

Key words: ADO; multithread; Network Broadcast; Network Programming 

 

目  录

1 引言 1
1.1 课题背景 1
1.2 主要采用技术 1
1.2.1 ADO 1
1.2.2 多线程 1
1.2.1 网络广播 2
1.3 系统开发环境 2
1.3.1 系统软件环境 2
1.3.2 工具简介 2
2 系统概述 3
3 系统模块设计与实现 4
3.1 总体设计 4
3.1.1 系统结构设计 4
3.1.2 通信协议 6
3.1.3 数据库设计 6
3.2 编码实现 6
3.2.1配置模块 6
3.2.2接收请求模块 9
3.2.3处理请求模块 11
3.2.4发送应答模块 14
4 软件测试 16
结    论 18
参考文献 18
致    谢 19
声    明 20

 

 

实验室计算机IP地址自动设置程序—--服务器端的设计与实现......
  • 上一篇资讯: [VC++]
  • 版权所有 QQ:3710167 邮箱:3710167@qq.com 网学网 [Myeducs.cn] 您电脑的分辨率是 像素
    Copyright 2008-2015 myeducs.Cn www.myeducs.Cn All Rights Reserved 湘ICP备09003080号