2016年5月10日

多路复用I/O模型poll() 模型 代码实现

摘要: 多路复用I/O模型poll() 模型 代码实现 poll()机制和select()机制是相似的,都是对多个描述符进行轮询的方式。 不同的是poll()没有描述符数目的限制。 是通过struct pollfd结构体,对每个描述符进行轮询的 struct pollfd fdarray { int fd; 阅读全文

posted @ 2016-05-10 21:56 `Elaine 阅读(469) 评论(0) 推荐(0) 编辑

导航