I/O多路转接之poll 函数

pollhtml 1、poll()函数:数组 这个函数是某些Unix系统提供的用于执行与select()函数同等功能的函数,自认为poll和select大同小异,下面是这个函数的声明: 服务器 #include <poll.h> int poll(struct pollfd *fds, nfds_t nfds, int timeout); 参数:socket 1.第一个参数:一个结构数组,str
相关文章
相关标签/搜索