在Linux环境下select函数的初体验

select介绍 在linux中, 主要的 IO复用方式中, 有epoll, poll 和select, 这次先来学习下select. select 能够同时监视多个文件描述符的变法, 也支持超时返回. 先来看下select函数的定义 /* /usr/include/sys/select.h */  extern int select (int __nfds,               // 最
相关文章
相关标签/搜索