- 个人C++服务器编程练习项目,模仿muduo实现的基于epoll的网络编程库,用于学习epoll和reactor模式服务器编程,epoll使用LT模式
- linux kernel version 4.15.0 (ubuntu 20.04 desktop)
- gcc version 7.5.0 (cxx11 support required)
- cmake version 3.10.2
- 先需要安装jsoncpp
sudo apt install libjsoncpp-dev
- 开始编译
git clone ${project_url}
cd MyReactor
mkdir -p build
cd build
cmake ..
make
-
基本功能测试(连接建立,读写,断开)
-
实现TimerQueue
-
实现TcpClient类
-
优化Log打印功能
-
实现一个异步日志类 ASyncLog
-
实现基于Poll的多路复用器 PollPoller
-
实现多EventLoop
-
实现一个简易的http服务器
-
实现一个socks5代理服务器