-
熟悉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
-
nv30_push
td_event_e values NOTE: There is a max of 32 events.
- 2015-10-19 11:53:41下载
- 积分:1
-
Un-Scan-It
采集曲线图上的点数据, 可用Matlab、Excel重现此图(Collection point on the graph data available Matlab, Excel reproduce Figure)
- 2013-01-23 16:17:21下载
- 积分:1
-
控制中常常要测试被通讯协议理解的正确性,看完这个代码,自己动手写一个吧,不用再求人了。...
控制中常常要测试被通讯协议理解的正确性,看完这个代码,自己动手写一个吧,不用再求人了。--自创-control often to test the communication protocol understood by the correctness, reading the code, to write himself a bar, do not have to ask for the.-- Inventing
- 2022-08-05 11:49:20下载
- 积分:1
-
WebCast20060220am_Video
使用.net部署远程应用的讲座,很不错的,希望大家喜欢(use. Net application of the deployment of long-range talks, very good, hope you like)
- 2007-05-05 09:27:46下载
- 积分:1
-
网络控件源码 在这个空间的帮助下 可以用access作为网络服务器的数据库(大家都知道 access一般只用于单机版)...
网络控件源码 在这个空间的帮助下 可以用access作为网络服务器的数据库(大家都知道 access一般只用于单机版)-ctrol sorce code for extend the access to the network server database management software
- 2022-05-19 05:35:06下载
- 积分:1
-
link-two-program
link to program with dde protocol , in vb6
- 2015-09-15 05:44:40下载
- 积分:1
-
matlab
使用ncread循环读入所需要的nc数据,大致就是这么一个工具(Using ncread loops to read the required NC data is roughly such a too)
- 2020-06-19 20:40:01下载
- 积分:1
-
paidui
1、首先,我们分析调查到的数据,发现学生流符合泊松分布,服务时间符合指数分布,由此我们的模型就变成了排队论中典型的MM
模型,根据MM
模型中的各效率指标的公式,我们可得到学一食堂拥挤情况的各方面数据。
2、根据模型求解得到的数据,我们对模型进行了更精确的量化分析。我们发现,解决本模型的关键就在于分析顾客平均排队时间,我们对其与窗口数之间的关系进行了拟合,并就两者之间关系进行了灵敏度分析。
3、针对窗口数与顾客平均排队时间之间的关系,我们从经济学的角度进行了分析,即比较增加窗口后成本的增加量与减少排队等待时间所带来的收益之间的大小关系。
(err)
- 2021-04-11 15:08:58下载
- 积分:1
-
201130
个性图标生成器源码例程,程序根据画板画出图片可以设置画出图片的宽度、高度的特性,自改变图标的尺寸。(Personalized icon generator source code routines, programs can be set according to the drawing board to draw pictures draw pictures of width and height characteristics , since changing the size of icons.)
- 2016-05-18 09:08:04下载
- 积分:1