http://stackoverflow.com/questions/175507/c-c-web-server-library
I'm not aware of any such library, although there does seem to be a need. In lieu of somebody suggesting one, here's an alternate approach that I might recommend:
You might consider using a lightweight httpd daemon such as lighttpd and interfacing it with your app via FastCGI.
FastCGI is a socket mechanism where the web server will feed requests to your app, which can then answer with the content over a simple protocol. There are a number of libraries that implement FastCGI which should make it easy to use in your app.
1. lighttpd FastCGI
http://redmine.lighttpd.net/wiki/lighttpd/Docs:ModFastCGI
2. libmircohttpd
http://www.gnu.org/software/libmicrohttpd/
http://www.fastcgi.com/drupal/
3. libebb
http://tinyclouds.org/libebb/
depends on libev(...libevent)
分享到:
相关推荐
JSTL(JavaServer Pages Standard Tag Library,JSP标准标签库)是一个不断完善的开放源代码的JSP标签库,是由apache的jakarta小组来维护的。
Simple-Web-Server:使用C ++ 11和Boost.Asio实现的非常简单,快速,多线程,独立于平台的HTTP和HTTPS服务器和客户端库。 创建是使REST资源可从C ++应用程序获得的简单方法
2. Snorkel provides basic web server capabilities for natively built applications. The library supports both dynamic and static content, has a very low memory profile, and provides features that ...
主要内容 WebFOCUS基本体系 WebFOCUS web层 WebFOCUS Reporting Server概述 WebFOCUS Client概述 WebFOCUS Report Caster概述 WebFOCUS Adapter概述 服务器架构ppt全文共17页,当前为第2页。 WebFOCUS ...
npm ci # Build the project npm run compile 用法 # Compile the source code npm run compile # Compile the source code and start an HTTP server npm run build # Start an HTTP server npm run preview 添加...
1. 默认情况下, iisadmpwd放置在windows server 2003服务器的如下路径 : c:\windows\system32\inetsrv\iisadmpwd . 如果没有找到该路径, 你需要先在windows server 2003上安装iis服务. 注意 : 如果您在iis7/7.5中的...
EthernetWebServer_SSL_STM32目录发布v1.3.0 发布v1.2.1 主要版本v1.2.0 发布v1.1.2 发布v1.1.1 发布v1.1.0 先决条件安装使用Arduino库管理器手动安装VS代码和PlatformIO 包装补丁1.为了使STM32板使用LAN8720 2....
这是一个用C语言写成文件包,目的在于提高Tomcat的服务性能,从而使得Tomcat将不仅仅担任一个容器的功能,而是要成为一个一般的web服务器(general purpose webserver)。 所以按照上面的提示,下载了tcnative-1.dll...
1.2 w3c介绍 2 1.3 关于xml的几个问题 3 1.4 xml与html的比较 4 1.4.1 xml将数据与显示分开 5 1.4.2 xml对文档的格式要求更加严格 6 1.4.3 xml有且只能有一个根元素 6 1.5 xml的编辑工具 7 1.6 xml文档 8 ...
1.2 w3c介绍 2 1.3 关于xml的几个问题 3 1.4 xml与html的比较 4 1.4.1 xml将数据与显示分开 5 1.4.2 xml对文档的格式要求更加严格 6 1.4.3 xml有且只能有一个根元素 6 1.5 xml的编辑工具 7 1.6 xml文档 8 ...
The world of web services has been on a fast track to supernova ever since the ...C. The HTTP Header Top Infinity..... . 389 Standard Headers 390 Nonstandard Headers 404 Index........ . . . . 409
1.2 w3c介绍 2 1.3 关于xml的几个问题 3 1.4 xml与html的比较 4 1.4.1 xml将数据与显示分开 5 1.4.2 xml对文档的格式要求更加严格 6 1.4.3 xml有且只能有一个根元素 6 1.5 xml的编辑工具 7 1.6 xml文档 8 ...
打开library\web-inf\目录下的文件conf.xml(可用记事本打开),找到 <url>jdbc:mysql://localhost:3306/lib <jdbcdriver>org.gjt.mm.mysql.Driver <dbusername>root <dbpassword></dbpassword> ...
1. 默认情况下, iisadmpwd放置在windows server 2003服务器的如下路径 : c:\windows\system32\inetsrv\iisadmpwd . 如果没有找到该路径, 你需要先在windows server 2003上安装iis服务. 注意 : 如果您在iis7/7.5中的...
1.2 w3c介绍 2 1.3 关于xml的几个问题 3 1.4 xml与html的比较 4 1.4.1 xml将数据与显示分开 5 1.4.2 xml对文档的格式要求更加严格 6 1.4.3 xml有且只能有一个根元素 6 1.5 xml的编辑工具 7 1.6 xml文档 8 ...
and upload your first sketch Learn C language basics Write functions in Arduino sketches Structure data using arrays and strings Use Arduino's digital and analog inputs and outputs in your programs ...
Summary SPA Design and Architecture teaches you the design and development skills you need to create SPAs....Appendix C Chapter 7 server-side setup and summary Appendix D Installing Node.js and Gulp.js
Tomcat Appendix B: Using Spring Tool Suite with Maven Appendix C: The Servlet API Appendix D: JavaServer Pages Appendix E: Deployment Index Table of Contents Chapter 1: The Spring Framework Chapter ...
Packet Design Embedded Library (PDEL) 是一个 C 库,包含用于开发嵌入式应用程序的各种代码集合。 还包括 lws('lil Web Server'),这是一个使用 libpdel 的轻量级、可编写脚本的嵌入式 Web 服务器。