-
熟悉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
-
基于c#的对于SOAP消息的实现,是.net初学者非常好的材料!
基于c#的对于SOAP消息的实现,是.net初学者非常好的材料!
- 2023-07-04 16:50:02下载
- 积分:1
-
一个模拟网络书店的程序,具有网络书店的一般功能,包括查阅目录和购买等
一个模拟网络书店的程序,具有网络书店的一般功能,包括查阅目录和购买等-a simulation network of bookstores procedures, with the general bookstore network functions, including access to catalog and purchase
- 2022-01-26 07:59:49下载
- 积分:1
-
通用升级程序,用于软件升级方面,主要采用配置文本文件实现软件的升级!...
通用升级程序,用于软件升级方面,主要采用配置文本文件实现软件的升级!-generic promotion procedures for software upgrades, the main configuration text file using software upgrades!
- 2022-03-16 09:15:09下载
- 积分:1
-
网络编程原理文摘!大家都来看看啊!还不错啊!无解压密码...
网络编程原理文摘!大家都来看看啊!还不错啊!无解压密码-Network Programming tenets Digest! Everyone arrives! Not a bad thing! Without extracting passwords
- 2022-02-09 11:55:04下载
- 积分:1
-
一个很好用的网络开发sdk,可以应用与文件上传下载!
一个很好用的网络开发sdk,可以应用与文件上传下载!-A good web development using the sdk, can be applied with the file upload to download!
- 2023-02-10 11:00:04下载
- 积分:1
-
一个BT的源代码,用c++编写的,是别人的,我就是想下载一个有用的代码,谢谢站长。...
一个BT的源代码,用c++编写的,是别人的,我就是想下载一个有用的代码,谢谢站长。-A BT source code, using c++ Prepared, is someone else
- 2023-02-08 19:25:04下载
- 积分:1
-
simple chat client sever
simple chat client sever
- 2022-01-22 04:25:52下载
- 积分:1
-
Enabling you down load any html from internet.
Enabling you down load any html from internet.
- 2022-09-05 22:15:03下载
- 积分:1
-
局域网中查看各个终端的磁盘信息的小程序。主要是网络socket编程...
局域网中查看各个终端的磁盘信息的小程序。主要是网络socket编程-See all LAN terminals disk information applets. Network socket programming is mainly
- 2022-08-03 01:22:06下载
- 积分:1