webSocket_Libevent_ThreadPool

所属分类:Websocket编程
开发工具:C
文件大小:0KB
下载次数:0
上传日期:2023-11-22 07:51:43
上 传 者sh-1993
说明:  基于Libevent库与线程池编写的简单WebSocket服务器与客服端
(Simple WebSocket server and customer service based on Libevent library and thread pool)

文件列表:
LICENSE (1056, 2023-11-21)
Makefile (3105, 2023-11-21)
Threadpool.cpp (16517, 2023-11-21)
client_main.c (2517, 2023-11-21)
config.c (2677, 2023-11-21)
ev_client_main.c (3650, 2023-11-21)
ev_httpd.cpp (47846, 2023-11-21)
ev_httpd_test.c (7967, 2023-11-21)
ev_server_main.cpp (8163, 2023-11-21)
ev_thread_server_main.cpp (9362, 2023-11-21)
ev_websocket.c (42186, 2023-11-21)
evbase_threadpool.cpp (12313, 2023-11-21)
include/ (0, 2023-11-21)
include/Threadpool.h (1265, 2023-11-21)
include/config.h (4663, 2023-11-21)
include/debug.h (1429, 2023-11-21)
include/ev_httpd.h (4983, 2023-11-21)
include/ev_httpd_content.h (8965, 2023-11-21)
include/ev_websocket.h (2487, 2023-11-21)
include/evbase_threadpool.h (1056, 2023-11-21)
include/websocket_common.h (2541, 2023-11-21)
server_main.c (10474, 2023-11-21)
test_thpool.c (1344, 2023-11-21)
websocket_common.c (50112, 2023-11-21)
wwwroot/ (0, 2023-11-21)
wwwroot/1.jpg (177891, 2023-11-21)
wwwroot/2.jpg (345980, 2023-11-21)
wwwroot/3.jpg (160197, 2023-11-21)
wwwroot/index.html (588, 2023-11-21)

# 基于Libevent库与线程池编写的简单WebSocket服务器与客服端 # >## 作者:SSZL 博客:[https://sszlbg.cn](https://sszlbg.cn) >> * 由于代码中使用了 C++中的容器,所有采用g++ 编译器编译 请安装g++编译器 >> * 编译需要安装 Libevent库 与 OpenSsl 库 >>> * Libevent安装方法 >>>> * yum install libevent-devel >>> * OpenSsl库安装 >>>> * yum install openssl >>>> * yum install openssl-devel >> * MakeFile文件说明 >>> * app: ev_httpd_server_process ev_client_process >>>> * HTTP-Websocket服务器(线程池Libevent库)与Websocket客户端(Libevent库) >>> * app: ev_thread_server_process ev_client_process >>>> * WebSocket服务器(线程池Libevent库)与WebSocket客户端(Libevent库) >>> * app: ev_server_process ev_client_process >>>> * WebSocket服务器(Libevent库)与WebSocket客户端(Libevent库) >>> * app: client_process server_process >>>> * WebSocket服务器(epoll)与WebSocket客户端 >>> * 监听应用对应源码请 查看 MakeFile 文件 >> * 动态库加载失败解决方法 >>> * sudo vim /etc/ld.so.conf >>> * 把动态库的绝对路径添加到文件中 一行一个目录 >>> * sudo ldconfig -v >>> * OK可以了 ## [Github](https://github.com/sszllzss/webSocket_Libevent_ThreadPool/) [Gitee](https://gitee.com/sszl_blog/webSocket_Libevent_ThreadPool)

近期下载者

相关文件


收藏者