epoll非阻塞IO 设置connfd套接字为非阻塞 flag = fcntl(connfd, F_GETFL); flag |= O_NONBLOCK; fcntl(connfd, F_SETFL, flag);