inet6 support in inet:getaddr()

Fredrik Thulin <>
Thu Apr 1 11:35:01 CEST 2004


Hi

I've managed to get IPv6 support working in the Erlang SIP-server/stack called 
Yxa (http://www.stacken.kth.se/projekt/yxa/). To my delight, I found out that 
inet:getaddr() does handle inet6 (I'm using R9C-0) even though the 
documentation says is doesn't ;)

My question is, will this be the way to do it or am I better off implementing 
my own DNS resolver functionality to obtain IPv6 as well as IPv4 addresses? I 
might have to do that anyways since I want to obtain all addresses for a 
hostname, not just the first one.

Thanks,

/Fredrik




More information about the erlang-questions mailing list