c/c++实现http 请求/响应 可做web server
linux-dash
A beautiful web dashboard for Linux
项目地址:https://gitcode.com/gh_mirrors/li/linux-dash

·
java servlet容器实现web server原理
c++实现web server 可依赖于 mongoose ,真的很强大,标准c实现,源码只有一个.c和.h,可移植到单片机使用!!!
Mongoose是一个用C语言编写的网络库,它是一把用于嵌入式网络编程的瑞士军刀。它为TCP、UDP、HTTP、WebSocket、CoAP、MQTT实现了事件驱动的非阻塞API,用于客户机和服务器模式功能包括:
跨平台:适用于linux/unix、macos、qnx、ecos、windows、android、iphone、freertos。
自然支持PicoTCP嵌入式TCP/IP堆栈,LWIP嵌入式TCP/IP堆栈。 适用于各种嵌入式板:ti cc3200、ti
msp430、stm32、esp8266;适用于所有基于linux的板,如Raspberry PI, BeagleBone等。
单线程、异步、无阻塞核心,具有简单的基于事件的api。内置协议: 普通TCP、普通UDP、SSL/TLS(单向或双向)、客户端和服务器。 http客户端和服务器。
WebSocket客户端和服务器。 MQTT客户机和服务器。 CoAP客户端和服务器。 DNS客户端和服务器。 异步DNS解析程序。Mongoose只需微小的静态和运行时占用空间,源代码既兼容ISOC又兼容ISO C++,而且很容易集成。




A beautiful web dashboard for Linux
最近提交(Master分支:23 天前 )
186a802e
added ecosystem file for PM2 5 年前
5def40a3
Add host customization support for the NodeJS version 5 年前
更多推荐
所有评论(0)