Hi,

I need to resolve IPv6 address for domain name (google.com -> 
2607:f8b0:4006:80e:0:0:0:200e)

To do it I call:

DnsQuery.QueryAny('google.com',DnsQueryAAAA);

But how to decode/get resolved IPv6 address in DnsQuery.OnRequestDone ?

I get IPv4 like this 
ResultIP:=AnsiString(WSocket_inet_ntoa(DnsQuery.Address[Index]));

But it's not working for IPv6 !

Please help !

---
With best regards, Max Terentiev.
Business Software Products.
AMS Development Team.
supp...@bspdev.com



-- 
To unsubscribe or change your settings for TWSocket mailing list
please goto http://lists.elists.org/cgi-bin/mailman/listinfo/twsocket
Visit our website at http://www.overbyte.be

Reply via email to