+ for (i = 0; i < irc_nscount; i++)
+ {
+ ns = (i + rcount - 1) % irc_nscount;
+ if (ns_timeout_count[ns] && retrycnt % retryfreq(ns_timeout_count[ns]))
+ continue;
+ if (sendto(rb_get_fd(res_fd), msg, len, 0,
+ (struct sockaddr *)&(irc_nsaddr_list[ns]),
+ GET_SS_LEN(&irc_nsaddr_list[ns])) == len)
+ return ns;
+ }