C++利用mongoose搭建http服务端和客户端
服务端与客户端常用函数服务端http_server_sampleev_handler(事件处理函数)常用函数客户端官网官网有详细的说明和丰富的例子,有兴趣的可以去看看。服务端http_server_sample#include "mongoose.h"static const char *s_http_port = "8000";static void ev_handler(struct mg_connection *c, int ev, void *p) { if (ev == MG
原创
2020-08-18 16:01:07 ·
4209 阅读 ·
0 评论