出现epoll failed: Bad file descriptor的原因
摘要:
今天遇到了这个问题,之前找了半天原来是IO事件的socket描述符在epoll_ctl()处理之前关闭了。if(epoll_ctl(epollFd, EPOLL_CTL_DEL, ev->fd, &epv) fd, strerror(errno));在删除事件 epoll_ctl(kdpfd, EP... 阅读全文
posted @ 2014-08-12 16:42 呆雁 阅读(21112) 评论(0) 推荐(2)
浙公网安备 33010602011771号