-
熟悉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
-
Eas
Constants used throughout the EAS implementation are stored here.
- 2014-02-17 13:38:51下载
- 积分:1
-
局域网的一个信息交换平台,可用于网间交换信息
局域网的一个信息交换平台,可用于网间交换信息-a LAN information exchange platform for the exchange of information between network
- 2022-06-02 20:13:10下载
- 积分:1
-
65520803trace
说明: 五种飞行轨迹,轨迹中包含各种飞行姿态,适合初学者。(Five Kinds of Flight Trajectories)
- 2020-06-23 18:40:01下载
- 积分:1
-
OMNET++学习书,包含每个实例的网络层…
Omnet++学习全书,内含网络每个层的仿真实例和源代码(已经测试)
-Omnet++ Learning book that contains the network layer of each simulation examples and source code (already tested)
- 2022-02-20 12:12:56下载
- 积分:1
-
RepairImNline
说明: 对图像进行非线性调整,可用用图像的增强,特别是模糊图像,增加对比度(right image nonlinear adjustment can be used to enhance the image, especially fuzzy images, increase contrast)
- 2005-11-15 18:13:08下载
- 积分:1
-
NMM
数值流形方法的源代码,主要由于连续和非连续变形的分析,裂纹扩展的模拟等(NMM source code, mainly due to the continuous and discontinuous deformation analysis, simulation of crack propagation)
- 2020-06-26 17:00:02下载
- 积分:1
-
debuggingresources
摘要:VC/C++源码,随书源码,书籍源码
advanced windows debugging一书的完整代码,不多介绍了,是书中的源码例子,学习C++有用处。(Summary: VC/C++ source, source books, books advanced windows debugging source code for a complete book, little introduction, is the source code examples in the book, learning C++ useful.)
- 2014-04-27 14:37:38下载
- 积分:1
-
openswancodeanalysis
开源vpn openswan的代码分析与注释。(Open vpn openswan code analysis and comment.)
- 2013-12-02 09:13:12下载
- 积分:1
-
ReadMessages
Read sms c# with smslib 3.5.3
- 2013-10-02 12:29:34下载
- 积分:1