摘要: 1,io模型: 阻塞io、非阻塞io、io多路复用,信号驱动io。 阻塞Io与非阻塞io的转换,可用fcntl()函数 #include<unistd.h> #include<fcntl.h> int fcntl(int fd,int cmd,...); 2,io多路复用 在应用程序中同时处理多路输 阅读全文
posted @ 2018-08-07 20:41 子都 阅读(723) 评论(0) 推荐(0) 编辑