摘  要:  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(2.6内核)的服务器集群【745字】

改善嵌入式Linux实时性能的方法研究【2067字】

搭建Linux桌面环境的影音平台【1261字】

Linux内核的键盘模拟实现【1538字】

使用http协议和winsockapi实现...

于PCI9656设备驱动程序的...

AT89C52单片机的超声波测距...

神经外科重症监护病房患...

医院财务风险因素分析及管理措施【2367字】

志愿者活动的调查问卷表

公寓空调设计任务书

国内外图像分割技术研究现状

10万元能开儿童乐园吗,我...

承德市事业单位档案管理...

中国学术生态细节考察《...

C#学校科研管理系统的设计