[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

[Libevent-users] Some evdns question



Hi,

There are a bunch of questions that I couldn't find answers from the
document, hope someone can share some insight

1) do I need to FREE returned  struct evdns_request*  in the callback?
 what about struct evdns_getaddrinfo_request * ?  these things are not
very clear in the doc, and I by chance found evutil_freeaddrinfo ,
then I kinda guess I need to free that too.

2) since there is no evdns_getnameinfo (why?), what function could I
use to reverse resolve address protocol independently ?  More
importantly , neither evdns_resolve_reverse or
evdns_resolve_reverse_ipv6 works with /etc/hosts file,  so things like
"::1" and "127.0.0.1" is probmatic.

Thanks.
***********************************************************************
To unsubscribe, send an e-mail to majordomo@xxxxxxxxxxxxx with
unsubscribe libevent-users    in the body.