作者:SSZL 博客: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可以了
forked from sszllzss/webSocket_Libevent_ThreadPool
-
Notifications
You must be signed in to change notification settings - Fork 0
liuxin365/webSocket_Libevent_ThreadPool
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
About
基于Libevent库与线程池编写的简单WebSocket服务器与客服端
Resources
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published
Languages
- C 57.7%
- C++ 40.8%
- Makefile 1.3%
- HTML 0.2%