-
熟悉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
-
文件传送 This program is free software you can redistribute it and/or modify it unde...
文件传送 This program is free software you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation either version 2 of the License, or (at your option) any later version. * * copyright : (C) 2002 by Zhang Yong * * email : z-yong163@163.com *-file transfer This program is free software you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation either version 2 of the License, or (at your option) any later version.** copyright : (C) 2002 by Zhang Yong** email : z-yong163@163.com*
- 2022-12-15 17:20:05下载
- 积分:1
-
projectxi是服务器
ProjectXI是一个基于FF11的服务器端模拟器-ProjectXI is a server-side FF11-based simulator
- 2022-08-11 14:24:48下载
- 积分:1
-
自己编写,一个支持使用代理的Smtp收EMAIL程序。
自己编写,一个支持使用代理的Smtp收EMAIL程序。-their preparation, support the use of an agent Smtp EMAIL admission procedures.
- 2022-03-17 05:34:27下载
- 积分:1
-
TCPIP协议的实现,包括很多协议的实现
tcpip协议实现,包括很多协议实现-tcpip protocol implementation, including the realization of a lot of agreement
- 2022-01-26 07:08:49下载
- 积分:1
-
实时信息系统可以上传下载提供用户权限设置,并能及时通讯。...
实时信息系统可以上传下载提供用户权限设置,并能及时通讯。-Uploading and downloading real-time information system can provide the user access settings, and timely communication.
- 2022-03-12 07:58:17下载
- 积分:1
-
《桃源网络硬盘.Net》V4.1企业SQL版
《桃源网络硬盘.Net》V4.1企业SQL版-" Taoyuan network hard drive. Net" V4.1 Enterprise SQL Edition
- 2022-04-23 06:56:39下载
- 积分:1
-
计算机监控
通过实现网络链接,对对方的计算机进行监控,并实现关机、重启等功能,此代码用VC++编译,已全部通过。本人技术有限,如有雷同,纯属巧合。
- 2022-03-02 16:25:00下载
- 积分:1
-
远程视频监控系统,查看被控制端的文件目录清单;查看被控制端的文件内容;拷贝被控制端的文件到控制端...
远程视频监控系统,查看被控制端的文件目录清单;查看被控制端的文件内容;拷贝被控制端的文件到控制端-Remote Video Monitoring System, see end of document control inventory control side view the content of the document copy of the document control to the control side client
- 2022-04-07 13:43:12下载
- 积分:1
-
snmpd C++程序,用于snmp 管理,已在实际应用中得到检验。相信给你一些帮助的。...
snmpd C++程序,用于snmp 管理,已在实际应用中得到检验。相信给你一些帮助的。-snmpd C++ sourcecodes
- 2023-05-21 02:05:03下载
- 积分:1