摘要: select函数用于在非阻塞中,当一个套接字或一组套接字有信号时通知你,系统提供select函数来实现多路复用输入/输出模型,原型:int select(int maxfd,fd_set *rdset,fd_set *wrset,fd_set *exset,struct timeval *timeo... 阅读全文
posted @ 2014-11-29 09:28 周人假的 阅读(705) 评论(0) 推荐(0) 编辑