-
熟悉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
-
用的是以太网的网卡地址的程序,该软件可以进行验证。
用VC++开发读取网卡MAC地址的程序,可以作为验证软件合法的一个通用模块
-with VC read the Ethernet MAC address procedures, the software can be verified as legitimate a Universal Module
- 2022-02-21 00:22:19下载
- 积分:1
-
network programming code introduced some basic knowledge, is the main client pro...
这段vc代码介绍网络编程的一些基础知识,主要是客户端程序-network programming code introduced some basic knowledge, is the main client program
- 2022-02-07 10:51:56下载
- 积分:1
-
GM8142的详细的读写程序,发送接收子程序
GM8142的详细的读写程序,发送接收子程序-GM8142 detailed procedures to read and write, send receive Subroutine
- 2022-02-18 17:30:51下载
- 积分:1
-
网吧影院系统,可以在网站里用的网吧影院系统。
网吧影院系统,可以在网站里用的网吧影院系统。-netroom movie system
- 2022-01-25 18:12:58下载
- 积分:1
-
< 网络通信编程实用>>一书的源代码。有vc各种通信编成的实例。...
< 网络通信编程实用>>一书的源代码。有vc各种通信编成的实例。-lt; Lt; Network programming practical gt; Gt; A book of the source code. There are various communications into vc examples.
- 2022-05-31 20:32:35下载
- 积分:1
-
在线升级原有的一套代码,包括服务器验证和…
一整套的在线升级的原代码,包括服务端的验证以及在线升级程序-Online upgrade of the original set of code, including server authentication and online upgrade
- 2023-02-14 17:30:04下载
- 积分:1
-
开发用C++发送邮件的程序,
一个用c++builder开发的发邮件的程序,支持附件!- Development sends the mail with c the builder the procedure,
supports the appendix!
- 2022-03-21 23:34:15下载
- 积分:1
-
基于Socket封装的通用API
基于Socket封装的通用API,支持TCP客户端、TCP服务端、UDP客户端、UDP服务端。
应用程序开发需包含导出类的TSocket.h,同时引用TCPUDPAPI.lib,TCPUDPAPI.dll 放在应用程序运行目录下。
- 2022-02-01 06:52:45下载
- 积分:1
-
IP伪装程序.对于网络安全开发的你不能不知道,也不能不去了解的比被技术...
IP伪装程序.对于网络安全开发的你不能不知道,也不能不去了解的比被技术-masquerading procedures. For the development of network security and you must know that, nor do not understand the technology than was
- 2022-02-01 14:21:23下载
- 积分:1