-
熟悉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
-
一个用cSharp编写的聊天室,不算完善,客户端需要硬编码服务端的地址...
一个用cSharp编写的聊天室,不算完善,客户端需要硬编码服务端的地址-CSharp prepared using a chat room, which is not perfect, the client needs of hard-coded server address
- 2022-12-12 02:35:04下载
- 积分:1
-
1。forumportal两放置。论坛的内容放forumportal内容…
1. 放置好ForumPortal
2. 将论坛目录置于ForumPortal目录下
3. 执行http://.../Install.aspx安装
4. 确保对文件访问有足够的权限(EveryOne写入权限)
5. 执行3部安装过程后,将自动删除Install.aspx文件,若程序没有权限删除,则请手动删除
6. 倘若程序没有修改web.config的权限,请手动修改数据库连接串(数据库名称即为论坛数据库名称)
7. ForumPortal后台帐号,当然就是论坛后台帐号啦,一样-1. ForumPortal two well placed. Contents of the forum placed ForumPortal Contents under 3. implementation http : //.../ Install.aspx installation 4. to ensure there are sufficient documents to visit the competence (Ever yOne write competence) 5. implementation of three installation process, Install.aspx will automatically delete the document, if no authority to delete procedures, please manually delete 6. If the process is not the authority to amend sed, please manually modify the database connection strings (name of the database shall Forum database name) 7. ForumPortal background account, of course, is the background account-- the Forum, like
- 2022-08-16 01:51:47下载
- 积分:1
-
聊天室ChatClient源码
聊天室ChatClient源码-Chat rooms ChatClient source
- 2022-10-29 17:15:04下载
- 积分:1
-
CUdpSocket是为了简化发送,解析UDP 数据报所提供的一个基类。这个类封装了基于SOCK_DGRAM的大部分基本操作。这个类提供两种工作模式,一种是和实...
CUdpSocket是为了简化发送,解析UDP 数据报所提供的一个基类。这个类封装了基于SOCK_DGRAM的大部分基本操作。这个类提供两种工作模式,一种是和实际处理UDP 数据报的功能紧耦合,这需要通过继承实现,同时设置workmode 为auto_receive(参见SetWorkdMode),另外一种是直接作为单独对象出现,此时用户需要使用Recv成员函数自己处理数据的接收。-CUdpSocket is to simplify this, the analytical data reported by the UDP with a base class. This type of packaging based SOCK_DGRAM the most basic operation. This provides two types of work, is a practical and UDP data processing function of tight coupling, it needs to achieve through inheritance, as set workmode auto_receive (see SetWorkdMode), the other is directly emerging as a separate object, users need to use this member function since Recv others receiving data processing.
- 2023-07-22 21:35:02下载
- 积分:1
-
赢(风险投资服务范例
WIN NT2000 服务程序样例 VC-WIN (VC services Example
- 2022-07-12 08:36:25下载
- 积分:1
-
python 调用ldap接口访问ldap服务器进行身份验证
python 调用ldap接口访问ldap服务器进行身份验证-python call access ldap server ldap interface authentication
- 2022-05-31 21:27:06下载
- 积分:1
-
一个有用的对等点的程序,值得学习
一个有用的P2P程序,值得学习-a useful P2P procedures, it is worth learning
- 2022-02-01 13:33:27下载
- 积分:1
-
一个C#写的IOCP(完成接口)的示例程序,明确的写出了实现IOCP的核心算法。有研究服务器端高效编程的程序员,可以参考一下。...
一个C#写的IOCP(完成接口)的示例程序,明确的写出了实现IOCP的核心算法。有研究服务器端高效编程的程序员,可以参考一下。-A C# written in IOCP (complete interface) of the sample programs and clear the heart to write algorithms to achieve IOCP. Studies have high-performance server-side programming programmer, you can reference.
- 2022-01-26 02:14:10下载
- 积分:1
-
远程开端口,用于扫描查看系统打开的服务,不用密码即可.
远程开端口,用于扫描查看系统打开的服务,不用密码即可.-import drop,It is copy down
- 2023-07-08 03:05:04下载
- 积分:1