摘  要:  Linux操作系统是一种开源且免费的操作系统。从诞生至今,在全世界Linux开发者和爱好者的共同努力和拼搏下,其质量得到不断地提高。Linux操作系统具有稳定性好、安全性高、网络负载能力强和占用设备资源少等特点。如今它已发展成为世界上的主流操作系统之一。因此本文选择在Linux下进行简单Web服务器的设计与实现。31570
Web服务器是目前最常见的网络数据传输使用的服务,HTTP协议在Web服务中得到了最广泛的使用。本文在Linux下创建简单的Web服务器,Web服务器在局域网中的计算机上运行,本地网络中的其他计算机访问该计算机实现客户端服务器的HTTP协议的请求响应。在Linux系统下使用C语言编程来实现Web服务器,进一步提高系统的安全性与稳定性,同时,可提高系统的速度和效率。
毕业论文关键词: Linux操作系统、HTTP协议、Web服务器  
 Design and implementation of a simple web server under linux
Abstract: Linux is free of open source operating system,since its inception, under the joint efforts of the whole world Linux developers and fans, its quality has been continuously improved。 The Linux operating system has the features of good stability, high security, strong network load ability, and less occupancy of equipment resources, etc.Now it has become one of the mainstream operating system in the world. So this article choose to carry on the design and implementation of the simple Web server under Linux.
Web server is currently on the Internet the most common one of the servers, in the Linux system using the HTTP protocol to realize the data transmission,.  This article chooses to design and realize the simple Web server under Linux.. Other computers in the local network access the computer to realize the request response of the HTTP protocol for the client server.HTTP for application and function consistent.
The Web server is realized in Linux using C language programming, and it improves the running speed of the system. At the same time, strengthen the safety and stability of the system.
Keywords: Linux operating system; HTTP protocol; Web server
目  录
第1章  绪论    1
1.1  课题研究背景    1
1.2  课题的研究目的和意义    1
1.3  本文研究内容及主要贡献    1
第2章  WEB服务器简介    2
2.1  WEB服务器工作原理    2
2.2  WEB服务器的特点    2
2.3  本章小结    3
第3章  HTTP协议    4
3.1  HTTP概述    4
3.2  协议属性    4
3.2.1  URI    4
3.2.2 请求-响应交换    4
3.2.3 协议的无状态性    5
3.2.4 资源元数据    5
3.3  报文    5
3.3.1  HTTP请求格式    5
3.3.2  HTTP响应格式    6
3.3.3 请求报头    6
3.3.4 响应报头    6
3.3.5 状态码    7
3.4  本章小结    7
第4章  WEB服务器的设计与实现    8
4.1  服务器设计重点    8
4.2  两个主要操作    8
4.2.1  操作1:建立连接    9
4.2.2  操作2:建立到服务器的连接    11
4.3  操作3:客户\服务器的会话    12
4.3.1  SOCKLIB.C    13
4.3.2  服务器的设计问题:DIY或代理    13
4.4  编写WEB服务器    14
4.4.1  WEB服务器的功能    14
上一篇:基于WebGIS的房地产评估业务系统设计
下一篇:jsp+mysql网上书城的设计+源代码

多频激励下典型非线性系统的振动特性研究

大数据时代下电子商务个性化信息服务研究

基于Linux的员工管理系统的设计与实现

SSM框架移动乐豆游戏下载系统设计+源代码

基于神经网络的水下机器人路径规划算法研究

Linux系统下web服务器的搭建与设计

杭州下沙小学生校园足球发展现状的研究

淮安市高校足球运动损伤问卷调查表

大淘宝网的虚假交易研究

新疆农林高校學生昆虫生...

发酵米粉优势菌株的发酵特性研究

肢体语言在小学英语教学中的应用浅谈

日语论文中日酒文化对比研究

浅谈农村大气环境保护的制度构建【1868字】

激光模拟训练器材国内外研究现状

2021年什么行业赚钱,适合...

个案管理茬老年糖尿病患...