>
>

> nfds = 32767
>

wut ? you cannot do that.. select cannot test on the first 0 to  (32767 -1)
file descriptors on each set.. only up to FD_SETSIZE .. no wonder why
FD_SET is choking on ares_fds() you are indeed going over the interface
limits..

yeah sizeof(read_fds) is 128 .. which is the size of the fd_set structure,
not the number of fds in the set...

Use poll or epoll instead.
-- 
c-ares mailing list
c-ares@lists.haxx.se
https://lists.haxx.se/listinfo/c-ares

Reply via email to