fd_set rset; struct timeval tv; /* Initialize the array of flags, specifying the * FD we want to monitor */ FD_ZERO(&rset); FD_SET(fd, ...
確定! 回上一頁