[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
[Libevent-users] Some evdns question
- To: libevent-users <libevent-users@xxxxxxxxxxxxx>
- Subject: [Libevent-users] Some evdns question
- From: åéé <sunyucong@xxxxxxxxx>
- Date: Wed, 26 Jun 2013 19:54:05 -0700
- Delivered-to: archiver@xxxxxxxx
- Delivered-to: libevent-users-outgoing@xxxxxxxx
- Delivered-to: libevent-users@xxxxxxxx
- Delivery-date: Wed, 26 Jun 2013 22:54:33 -0400
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:from:date:message-id:subject:to:content-type; bh=2OQmjh0J8HZPen2WDWZNjz2wyzxGCcCnzmNwPSEYVK4=; b=BlndW0H2tGn4UFRDMb8pgpYU8xtTitEpGLyqdkv+MLV/lodV3+s0JoxpwOUxvB+MCR S/CEV0FQLFih4VDQ0CAxotuQ3b+2UtuWKTaN6XQLP7e8yxzeo8Srsi4aapgky66S1UTk +La/+uhMh4zhYTCKHAF3HfLjw+EjPCP7ouRsCohSToshmyJk9kQ20chu+9PmVO3bEiN6 FyeADOFli7v9tFpZongP9K62mEs4yGSHB9KrMwOysdEXfuUUMFhLekkat8DA63H6OEG2 w6trcSswX+ZxyX51BoibDPS0ratXDORSazuFYgXq5OFYNW9aTKtLcxh86uNaJDy8r4Qn uvfA==
- Reply-to: libevent-users@xxxxxxxxxxxxx
- Sender: owner-libevent-users@xxxxxxxxxxxxx
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.