-
熟悉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
-
提供一个网络数据通讯的通用DLL,这个模块支持客户端网络,下次再提供一个服务器与客户端通用的模块。...
提供一个网络数据通讯的通用DLL,这个模块支持客户端网络,下次再提供一个服务器与客户端通用的模块。-provide a data communications network generic DLL, this module supports client network, the next server to provide a client with a common module.
- 2022-03-01 22:00:44下载
- 积分:1
-
VS2005的网络通信的程序,实现客户端和服务器端的简单功能
VS2005的网络通信的程序,实现客户端和服务器端的简单功能-VS2005 network communications programs to achieve client and server-side features a simple
- 2022-04-27 20:30:27下载
- 积分:1
-
M
The M-Bus protocol is a standard protocol for reading of counter devices like Heating or Electrical energy counters. M-Bus is normalized as EN 1434-3. Many counter manufacturers have implemented the M-Bus protocol in their products.
- 2023-05-05 03:50:03下载
- 积分:1
-
VC开发的全双工Socket通讯程序源码
VC开发的全双工Socket通讯程序源码
-VC developed full-duplex communication procedures Socket source
- 2022-09-15 18:10:04下载
- 积分:1
-
Site dadd.cn source, yes, worthy of recommendation, yes, worthy of recommendatio...
dadd.cn网站源码,不错,值得推荐, 不错,值得推荐-Site dadd.cn source, yes, worthy of recommendation, yes, worthy of recommendation
- 2022-10-30 18:05:05下载
- 积分:1
-
涉及的功能:1、使用一位高手提供的135端口信息发送函数.2、一个ini文件类用于记录IP信息.3、自定义一个消息和相关代码,用于把程序缩小到系统托盘....
涉及的功能:1、使用一位高手提供的135端口信息发送函数.2、一个ini文件类用于记录IP信息.3、自定义一个消息和相关代码,用于把程序缩小到系统托盘.-of functions : 1, the use of an expert for the 135-port messaging function .2, an ini file type used to record information .3 IP, since the definition of an information and code for the procedure to reduce the system tray.
- 2022-08-23 01:10:01下载
- 积分:1
-
自己的火车售票系统欢迎指导大家下载我的软件…
自己编的一个火车售票系统,欢迎大家下载指点我的软件- Own arrange a train booking system, welcome everybody downloading to direct my software 【上载源码成为会员下载此源码】【成为VIP会员下载此源码】-Own a train ticketing system are welcome to instruct everyone to download my software- Own arrange a train booking system, welcome everybody downloading to direct my software [upload source to become a member download the source code] [become a VIP member to download this source]
- 2022-06-20 23:03:32下载
- 积分:1
-
自动更新源码,可以实现程序的自动更新。它通过比较网页的版本号来确定程序是否要更新。...
自动更新源码,可以实现程序的自动更新。它通过比较网页的版本号来确定程序是否要更新。-updater
- 2023-08-23 11:00:04下载
- 积分:1
-
中点圆算法 简单精炼 特别适合初学者 希望对大家有点参考价值...
中点圆算法 简单精炼 特别适合初学者 希望对大家有点参考价值-Midpoint circle algorithm is simple and particularly suitable for beginners refining hope everybody a little bit reference value
- 2023-07-08 14:20:02下载
- 积分:1