fd_set read_fds; FD_ZERO(&read_fds); struct timeval timeout; init_multi(); //init multicast. FD_SET(multifd, &read_fds); //multifd is the multicast's FD.
確定! 回上一頁