请下载论文,论文或程序为doc或rar格式,只上传部分目录查看,如果需要此论文或程序,请点击-下载论文,下载需要资料或是论文。实验室计算机的IP地址自动设置程序——服务器端的设计与实现_论文和程序及源代码
,因文件夹或是目录太多,只读取部分文件显示,需要就下载参考
包括目录名称:
实验室计算机的IP地址自动设置程序——服务器端的设计与实现_论文和程序及源代码 - 1 文件数, 1 目录数.
包括目录名称:
张雨 - 0 文件数, 1 目录数.
包括目录名称:
源代码 - 1 文件数, 2 目录数.
包括目录名称:
ConfigIP - 20 文件数, 1 目录数.
包括目录名称:
res - 3 文件数, 0 目录数.
..\ConfigIP.ico
..\ConfigIP.rc2
..\Thumbs.db
..\AddIP.cpp
..\AddIP.h
..\ConfigIP.aps
..\ConfigIP.clw
..\ConfigIP.cpp
..\ConfigIP.dsp
包括目录名称:
IPaddrSer - 27 文件数, 2 目录数.
包括目录名称:
Log - 0 文件数, 0 目录数.
包括目录名称:
res - 1 文件数, 0 目录数.
..\Thumbs.db
..\DBserver.cpp
..\DBserver.h
..\IpAddr.mdb
..\IPaddrSer.clw
..\IPaddrSer.cpp
..\IPaddrSer.dsp
..\IpAddr.mdb
..\实验室计算机的IP地址自动设置程序——服务器端的设计与实现.doc
月10日
实验室计算机IP地址自动设置程序
---服务器端的设计与实现
摘 要
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; Net