while (select (FD_SETSIZE, &read_fd_set, NULL, NULL, &tv)) { for (f=0; f