摘要: 一、select 函数介绍 select函数用于在非阻塞中,当一个套接字或一组套接字有信号时通知你,系统提供select函数来实现多路复用输入/输出模型,原型: #include <sys/time.h> #include <unistd.h> int select(int maxfd,fd_set 阅读全文
posted @ 2016-04-21 09:22 阳光农场皮卡 阅读(600) 评论(0) 推荐(0)