监视文件描述符的状态: static int Select2(int fd, bool send, int milliseconds) { struct pollfd pfd; short want_event = (send ? POLLOUT : POLLIN); <