Re: [asio-users] newbie questions: asynchronous DNS and scatter i/o
Brought to you by:
chris_kohlhoff
From: Christopher K. <ch...@ko...> - 2006-12-17 10:37:16
|
Hi Jose, On Sun, 10 Dec 2006 17:46:56 +0100, "Jose" <jm...@gm...> said: > Yes. I also don't understand why glibc getaddrinfo_a is not being > used ! As far as I know there is no getnameinfo_a, so I need the background thread anyway. From reading the getaddrinfo_a documentation it also seems to use asynchronous signals, which IMHO makes it inappropriate for use in a library. I will look at adding a way to programmatically set the size of the resolver thread pool, for applications that care. Something like: io_service i; tcp::resolver_service* s = new tcp::resolver_service(i, 5); add_service(i, s); Cheers, Chris |