Home > Backend Development > PHP Tutorial > vc开发一个小型的http服务器

vc开发一个小型的http服务器

WBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWB
Release: 2016-06-06 20:48:37
Original
1088 people have browsed it

不知道目前网上有没有好用点的开源的且用C++开发的http服务器源代码。 项目中需要整合个http服务器的功能,具体需求如下: 1.可以绑定多个端口 2.可以配置虚拟主机 3.基本的http服务功能(如:访问静态页面,访问图片等等) 4.能简单处理php请求最好了

回复内容:

不知道目前网上有没有好用点的开源的且用C++开发的http服务器源代码。 项目中需要整合个http服务器的功能,具体需求如下: 1.可以绑定多个端口 2.可以配置虚拟主机 3.基本的http服务功能(如:访问静态页面,访问图片等等) 4.能简单处理php请求最好了

试试 https://github.com/cesanta/mongoose,除了第四个好像不能其他都可以,而且有非常好的 API。

Related labels:
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Latest Issues
php data acquisition?
From 1970-01-01 08:00:00
0
0
0
PHP extension intl
From 1970-01-01 08:00:00
0
0
0
How to learn php well
From 1970-01-01 08:00:00
0
0
0
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template