Ai
1 Star 0 Fork 0

丁旭升/Linux__cpp

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
main.cc 316 Bytes
一键复制 编辑 原始数据 按行查看 历史
丁旭升 提交于 2023-03-29 12:47 +08:00 . epool代码---读
#include <memory>
#include "EpollServer.hpp"
using namespace ns_epoll;
void change(string request)
{
//完成业务逻辑
std::cout << "change : " << request << std::endl;
}
int main()
{
std::unique_ptr<EpollServer> epollServer(new EpollServer(change));
epollServer->Start();
return 0;
}
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
C++
1
https://gitee.com/ding-xushengyun/linux__cpp.git
git@gitee.com:ding-xushengyun/linux__cpp.git
ding-xushengyun
linux__cpp
Linux__cpp
master

搜索帮助