-
熟悉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
-
ASK FSK
实现2ASK、2FSK调制及两者的包络检波解调(Implementation of 2ASK, 2FSK modulation and envelope demodulation of both)
- 2018-06-04 16:39:21下载
- 积分:1
-
C# 关于蓝牙的通信开发
C# 关于电脑通过蓝牙与手机手机进行通信的软件。通过简单算法和蓝牙技术实现手机客户端的和电脑的通信,这样就可以使得手机能够和电脑很好的通信,在此基础上,更加方便的实现手机和电脑通过蓝牙聊天,手机控制电脑关机,等等。。。。这个软件简单易用。
- 2022-04-20 15:11:35下载
- 积分:1
-
12345678
CTRL或Shift键+鼠标单击数据窗口标题 进行复合排序(完美修正版)
- 2013-08-23 11:22:28下载
- 积分:1
-
如何检测所有的网络卡,并显示在下拉框中的MAC
How to detect all network cards, and show the MAC in a dropdown box
- 2022-03-15 11:51:22下载
- 积分:1
-
很典型的一款嗅探器原程序,经过我的编译,可以正确运行.
很典型的一款嗅探器原程序,经过我的编译,可以正确运行.-typical one sniffer program, I have the compiler can function correctly.
- 2022-02-26 16:28:15下载
- 积分:1
-
COMSOL_LibDoc_Aco
comsol声学模块中各种模型例子的讲解和具体操作步骤(the comsol acoustic module various model examples to explain the specific steps)
- 2020-10-20 14:37:24下载
- 积分:1
-
abouttimesanta
圣诞老人骑着雪橇在天上飞,本游戏的最大特色是物理系统很完美,模拟出了很逼真的物理效果,玩家通过上下左右来控制雪橇下落。(Santa Claus riding a sleigh in the sky fly, the Games are the most significant feature of the physical system is perfect, a very realistic simulation of physical effects, the player passed up and down around to control the sled whereabouts.)
- 2009-03-06 14:59:00下载
- 积分:1
-
我做的银行家算法
说明: 过一个学习《操作系统》课程的学习,掌握了许多书本上的知识,但是对书上的概念并没有真正意义的了解。这次课程设计,就是通过模拟银行家算法来避免死锁的产生,加深对进程死锁概念的理解。
.课程设计的要求
通过对银行家算法的模拟,用户输入进程跟资源的数目,再给每个进程的每个资源申请资源,用以判断进程是否会出现死锁,若出现死锁,就释放整个内存的资源,总而减轻操作系统的负担。
课程设计的题目
本次操作系统课程设计的题目为《模拟银行家算法》。(than a learning "system" courses of study and master the many books on the knowledge, but the book on the concept and there is no real understanding. This curriculum design, simulation algorithm bankers to avoid deadlock the selection process to deepen understanding of the concept of deadlock. . Curriculum design requirements of bankers algorithm simulation, process user input with the number of resources, or give each process every resource for resources, the process used to determine whether there will be deadlock if there Deadlock on the release of the entire memory resources, and reduce the total burden of the operating system. The curriculum design of the operating system subject curriculum design on the topic of "simulation algorithm bankers.")
- 2021-01-02 00:38:57下载
- 积分:1
-
testROM
vc用驱动接口开发的,可以禁用usb,光驱,软驱,可以作为动态库使用.(vc-driven interface with development, you can disable the usb, drive, floppy drive, you can use as a dynamic library.)
- 2009-04-10 17:58:50下载
- 积分:1