Hi guys,
I'm using the asynchronous features of ares to resolve IP addresses back to
domain names (ares_gethostbyaddr). Is there a way to get the reply TTL of
an IP directly in the callback?
On a related note, IIRC I read somewhere in the documentation that "the
library respects TTL and does caching" (I hope that was not in that other
library I was looking into ;-) ). If so, can I get the TTL from the
ares-channel struct somehow?
thanks,
Clemens
Received on 2011-11-30