摘要: poll()函数: 这个函数是某些Unix系统提供的用于执行与select()函数同等功能的函数,下面是这个函数的声明:#include int poll(struct pollfd fds[], nfds_t nfds, int timeout); 参数说明: fds:是一个struct pollfd结构类型的数组,用于存放需要检测其状态的Socket描述符;每当调用这个函数之后,系统... 阅读全文
posted @ 2014-11-26 11:03 小菜庞 阅读(2643) 评论(0) 推荐(0) 编辑