摘要:
[toc] 2 程序逻辑 1 main 函数 2 具体流程模块函数 2.1 初始化全局结构体 c int conn_set(int fd, int events, void ( call_back)(int, int, void )) { if (fd g_manager.nconnections) 阅读全文
posted @ 2019-03-24 16:08
eemjwu_boy
阅读(235)
评论(0)
推荐(0)
摘要:
[toc] 1 关键数据结构 1. connection.h 1.1 manager_s 定义: 作用: 管理全局的句柄 1.2 connections_s 定义: 作用: 一个连接的数据结构 2. event.h 2.1 event_s 定义: 作用: 一个事件的数据结构 3. memory_po 阅读全文
posted @ 2019-03-24 15:37
eemjwu_boy
阅读(353)
评论(0)
推荐(0)

浙公网安备 33010602011771号