-
熟悉Http协议的请求和响应格式,编写一个简单的Http服务器。
基本要求:
1 正确解析Http请求,实现简单的GET请求回应。
2 模拟...
熟悉Http协议的请求和响应格式,编写一个简单的Http服务器。
基本要求:
1 正确解析Http请求,实现简单的GET请求回应。
2 模拟一个对象(如:文件index.html)的GET回应(如:回应一个字符串),对于其他的对象,则根据Http响应格式回应对象不存在信息。
3 通过浏览器可检测自己的程序。如:输入http://the.ip.of.your.pc:serverPort/index.html,查看其响应结果。
4 对http请求的处理必须采用多进程实现,即主进程负责等待请求连接,每当收到一个请求后,产生一个子进程对该请求做单独处理,主进程继续等待新请求,子进程在处理完其请求后结束自己。详细要求参考课本要求。(多进程编程参考函数fork())
-Http familiar with the agreement of the request and response format, write a simple Http server.
Basic requirements:
Http parsing a proper request, to achieve a simple GET request to respond.
2 analog an object (such as: file index.html) of the GET response (such as: in response to a string), for other objects, then according to Http response format, the information to respond to the object does not exist.
3 can be detected through the browser s own procedures. Such as: Enter http://the.ip.of.your.pc:serverPort/index.html, see the results of its response.
4 pairs of http request processing must be used to achieve multi-process
- 2023-04-01 20:15:03下载
- 积分:1
-
ShoppingCart
C#的ashx+jQuery实现购物车,没用到C#的控件和后台代码,只有一个ashx.(C# the ashx jQuery cart, useless to the controls and the background of the C# code, only one ashx.)
- 2012-03-25 16:19:43下载
- 积分:1
-
C
说明: 谭浩强的c语言电子版,有利于我们方便学习,方便在电脑上学习(The c language electronic version Hemopurification the, help us facilitate learning, to facilitate learning in computer)
- 2012-09-13 20:36:41下载
- 积分:1
-
a simple computer network program, describes the computer sliding window of the...
一个简单的计算机网络程序,描述计算机滑窗协议。实现回退N帧。-a simple computer network program, describes the computer sliding window of the agreement. Reverting to achieve N frame.
- 2022-02-01 11:33:22下载
- 积分:1
-
FLASH源码素材
FLASH源码素材-甜蜜恋人系列02 甜蜜恋人系列02 -FLASH source material-sweet lovers Series 02 lovers sweet sweet lovers Series 02 lovers sweet lovers Series 02 Series 02
- 2023-08-17 22:40:03下载
- 积分:1
-
fish12
鱼游动的一个演示动画!希望大家喜欢!!大家可以一起研究研究!(yu you dong )
- 2009-11-06 17:17:16下载
- 积分:1
-
MFC-ATL-SDK-Socket
MFC、ATL、SDK、SOCKET 等概念的辨析,详细解读(The Concept of MFC, ATL, SOCKET, detailed interpretation)
- 2013-04-09 13:26:24下载
- 积分:1
-
dtTest-V4.136
Dothinkey USB 测试板测试程序,支持
7.IMX214 (已验证)
8.IMX135 (已验证)
9.IMX219 (已验证)
(Dothinkey USB board test program that supports 7.IMX214 (verified) 8.IMX135 (verified) 9.IMX219 (verified))
- 2015-03-19 23:19:51下载
- 积分:1
-
python预处理
python 数据预处理(采用拉格朗日插值法处理缺失值)(python data process using inter method)
- 2020-10-10 14:37:34下载
- 积分:1
-
UDP聊天程序
UDP聊天程序-UDP chat program
- 2022-07-27 07:15:15下载
- 积分:1