-
熟悉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
-
IE插件
IE插件的编写,如果百度和3721,相同,呵呵,大家要做的易于删除呀,-IE plug-in the preparation, if Baidu and 3721, the same, what we need to do easy to delete it, huh
- 2023-07-29 14:55:03下载
- 积分:1
-
采用控件进行网络通讯的聊天服务器软件,已调试过。注意:在开启软件前需搭建网络线路,否则会有错误提示,影响软件正常运行...
采用控件进行网络通讯的聊天服务器软件,已调试过。注意:在开启软件前需搭建网络线路,否则会有错误提示,影响软件正常运行-Controls network communications using the chat server software, have been debug. NOTE: before opening the software to build the network line, or it will error and affect the normal operation of software
- 2022-05-09 05:47:53下载
- 积分:1
-
video display, capture and display photographs of procedures and documents to th...
视频显示,捕获以及图片的显示等程序,并能够进行图片文件的传输。-video display, capture and display photographs of procedures and documents to the photographs for transmission.
- 2022-09-17 00:20:03下载
- 积分:1
-
personal website management system functions : 1. Add two individual students. B...
个人同学录管理系统 功能:1.添加单个同学 2.批量添加同学 3.精确查询 4.直接修改 5.单个删除 6.批量删除 7.可以直接GO到达你想到达的页 8.分页显示 9.修改密码-personal website management system functions : 1. Add two individual students. Batch added three students. Query 4. 5 directly alter. Six single deleted. Batch delete seven. GO can reach you directly to the arrival of eight pages. Pagination 9. Changes secret Codes
- 2023-06-15 18:50:03下载
- 积分:1
-
直接Sochet API 实现UDP
直接Sochet API 实现UDP- Direct Sochet API realizes UDP
- 2022-03-25 17:20:06下载
- 积分:1
-
使用CSocket建立ftp客户端,通过TCP连接进行文件传输
使用CSocket建立ftp客户端,通过TCP连接进行文件传输-Use CSocket to establish ftp client, through the TCP connection file transfer
- 2022-02-24 20:22:41下载
- 积分:1
-
This is the procedure ResponseWatcherServlet.java
这是java程序的
ResponseWatcherServlet.java-This is the procedure ResponseWatcherServlet.java
- 2022-07-25 19:05:30下载
- 积分:1
-
一个用C语言开发的BBS系统,包含在线留言等功能。
一个用C语言开发的BBS系统,包含在线留言等功能。-a C-language development of the BBS system, including voice mail and other online functions.
- 2022-01-27 19:55:22下载
- 积分:1
-
很好的,我用过大家给点意见
说说看,嘻嘻大家
很好的,我用过大家给点意见
说说看,嘻嘻大家-Very good, I used to talk about everyone to the point of view, everyone hee hee
- 2022-01-25 15:58:30下载
- 积分:1