嵌入式eb服务器的设计与实现.doc

  1. 1、本文档共59页,可阅读全部内容。
  2. 2、原创力文档(book118)网站文档一经付费(服务费),不意味着购买了该文档的版权,仅供个人/单位学习、研究之用,不得用于商业用途,未经授权,严禁复制、发行、汇编、翻译或者网络传播等,侵权必究。
  3. 3、本站所有内容均由合作方或网友上传,本站不对文档的完整性、权威性及其观点立场正确性做任何保证或承诺!文档内容仅供研究参考,付费前请自行鉴别。如您付费,意味着您自己接受本站规则且自行承担风险,本站不退款、不进行额外附加服务;查看《如何避免下载的几个坑》。如果您已付费下载过本站文档,您可以点击 这里二次下载
  4. 4、如文档侵犯商业秘密、侵犯著作权、侵犯人身权等,请点击“版权申诉”(推荐),也可以打举报电话:400-050-0827(电话支持时间:9:00-18:30)。
查看更多
嵌入式eb服务器的设计与实现

嵌入式WEB服务器 摘 要 Linux操作系统是一个开放源代码的免费操作系统,它不仅有安全、稳定、成本低的特点,而且很少发现有病毒传播。近年来,随着linux操作系统在我国的不断普及,越来越多的服务器、工作站和个人电脑开始使用linux软件。基于linux具有稳定、可靠、安全和强大的网络功能这些优点,本文选择在linux环境下实现一个Web服务器。 本文研究了HTTP协议实现了数据的传输,阐述了采用linux套接字编程接口的方法实现HTTP协议的方案,详细分析了客户端和服务器之间的通信过程。本文在linux系统下实现一个Web服务器程序,在局域网内,将此服务器程序在一台计算机上运行,使网内其它计算机访问这台服务器时,实现客户端和服务器以HTTP协议进行请求和响应的功能。此外还编写了Web浏览器。 Web服务器实现的全部代码采用linux下的C语言编程,可进一步提高系统运行速度,并且增强了系统的安全性和可靠性。Web浏览器代码是采用C++和Qt的编程,界面设计是用Qt实现的。 关键词:嵌入式;linux操作系统;HTTP协议;Web服务器;Socket;Internet;Qt Embedded WEB server ABSTRACT The Linux operate system is a free operate system which opens asource code.Not only it has characteristics such as safe,stability,and the low cost,but also it seldom dissemiantes the Virus. In recent years,along with the Linux operatesystem in our country makes widely available continuously,more and more servers,work stations and personal computer start using Linux software.As the Linux operting system has the function of stable reliable,safe and formidable network,to realize a Web server in the Linux environment is the best choice. This paper introduces design and implement of Web server in Linux operating system. The problem of how to realize data transmission by HTTP protocol which based on Linux is valuable to research. This paper expounds realizing scheme for HTTP protocol, and gives out protocol communication module,wih the method of Linux socket programming intefface, and analyze the communication process between client and server. This paper realizes a Web server procedure in Linux operating sysytem.In the local area network, if this server procedure runs on a computer, which can realizes the function that the client requests and the server responds by HTTP agreement, when other computers in the net visit it. The complete code of the Web server’s realization uses the C language programming in Linux operating system,which may further enhance the running rate,and strengthened the security and reliability of the system. The code of Web browser’s

文档评论(0)

fangsheke66 + 关注
实名认证
内容提供者

该用户很懒,什么也没介绍

1亿VIP精品文档

相关文档