会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
田大叔
博客园
首页
新随笔
联系
订阅
管理
2021年2月9日
网络IO和事件循环的理解
摘要: 一: 下面是用epoll实现一个服务端的伪代码: int main() { int lfd=socket(); int epfd=epoll_create(3000); //epoll树根节点,3000只是个值,后面还会自动扩容 struct epoll_event all[3000]; //存储发
阅读全文
posted @ 2021-02-09 18:48 田大叔
阅读(283)
评论(0)
推荐(0)
公告