[原]Linux服务器--I/O复用(select、poll、epoll)

闫钰晨 17/08/04 15:11:45
一、select系统调用1.selectAPI原型:#include int select(int nfds,fd_set* readfds,fd_set* writefds,fd_set* exceptfds,struct timeval* timeout)【1】nfds参数指定被监听的文件描述符的总数。【2】readfds,writefds,exceptfds分别指向
作者:yyc794990923 发表于 2017/08/04 15:11:45 原文链接 https://blog.csdn.net/yyc794990923/article/details/76667368
阅读:196