【计算机论文全套栏目提醒】:文章导读:在新的一年中,各位网友都进入紧张的学习或是工作阶段。
网学会员整理了计算机论文全套-简易WEB服务器研究-(有全套程序)计算机毕业设计论文 - 学士论文的相关内容供大家参考,祝大家在新的一年里工作和学习顺利!
大学 毕业设计(论文)学 院:计算机与信息工程学院题 目: 简易 WEB 服务器研究专 业: 计算机科学与技术学 号:学生姓名:指导教师: 简易 WEB 服务器研究 摘 要 本文主要论述了 WEB 服务器的设计与研究,其中介绍了 WEB 服务器的基本构架,包括服务器端和浏览器端,以及 WEB 系统的工作原理,服务器/浏览器的通信模式,着重介绍了分析请求和构造响应这两项服务器与浏览器通信所必需的功能。
另外还对 Windows Socket规范的含义、发展历程、套接口、套接口的基本编程原理以及本次设计的开发工具 Visual C 6.0 做了简单的介绍。
并对简易 WEB 服务器的页面设计,侦听和响应等功能模块的设计以及具体代码实现做了较为详细的介绍。
关键词:WEB 服务器、WinSocket 规范、套接口 Research of Simple Web Server ABSTRACT This paper mainly talks about researching and designing on a simpleweb server. In this paper I give an introduction on basic structure of webserver system which includes server and browser and how the websystem working. I also introduce how they communicate between webserver and browser. What is WinSocket how it is developing how towrite the codes with socket how to use the develop tool Visual C 6.0are related. Then I talk about how to design page and write the codes oflisten and response function modules of web server in detail.KEYWORDS:WEB Server WinSockets Standard Sockets 目 录第一章 引言 .......................................................61.1 选题意义 ............................................. 61.2 论文架构 ............................................. 6第二章 WEB 服务体系结构 .........................................82.1 WEB 服务器基本构架 ..........................................8 2.1.1 WEB 服务器和浏览器.............................................. 8 2.1.2 WEB 页面 ........................................................ 92.2 WEB 系统的基本原理是请求/响应 ..............................92.3 WEB 服务器/浏览器是如何实现通信 ..........................11 2.3.1 分析请求 ....................................................... 11 2.3.2 构造响应 ....................................................... 11第三章 系统采用技术介绍 ........................................133.1 Winsock 技术简介 ............................................13 3.1.1 什么是 Windows Sockets 规范 ................................... 13 3.1.2 Windows Sockets 规范发展历程................................. 14 3.1.3 套接口 ......................................................... 143.2 VisualC6.0 简介 .........................................15第四章 系统设计 .................................................164.1 界面设计.....................................................16 4.1.1 界面设计要求 ................................................... 16 4.1.2 界面制作方法 ................................................... 164.2 侦听模块设计 ................................................16 4.2.1 服务器端操作 socket(套接字) ................................ 16 4.2.2 客户端 Socket 的操作 ........................................... 194.3 应答模块设计 ................................................20 4.3.1 服务器工作线程函数 Serverthread ...............................