[ldns-users] function call backs in ldns_resolver_send*?

W.C.A. Wijngaards wouter at NLnetLabs.nl
Wed Dec 15 16:04:56 UTC 2010


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hoi Miek,

On 12/15/2010 03:31 PM, Miek Gieben wrote:
> [ Quoting Wouter Wijngaards in "Re: [ldns-users] function call back"... ]
> If I can find some time (en zin) for this I might try to implement
> something. 

Interesting, but you could also do several libunbound ub_resolve_async
calls (with a callback), and then ub_wait(ctx) for them to finish.  For
a large capacity you may have to twiddle libunbound's allowed
socketcount by the way (ub_ctx_set_option("outgoing-range:", "1024")),
by default it stays small.  This may save you the work (unless you need
something different).

Best regards,
   Wouter
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (GNU/Linux)
Comment: Using GnuPG with Fedora - http://enigmail.mozdev.org/

iEYEARECAAYFAk0I5ygACgkQkDLqNwOhpPgiDwCgp4sY5Mxh/DBlK7nmTTeCKiRm
wLUAniLr1v+vuRrQoJOXJwEPZRoOdIT3
=/wQf
-----END PGP SIGNATURE-----



More information about the ldns-users mailing list