[erlang-bugs] Connection to IPv6 link local address fails due to missing scope identifier

Raimo Niskanen <>
Wed Oct 13 11:12:54 CEST 2010


On Wed, Oct 13, 2010 at 10:40:59AM +0200, Michael Stapelberg wrote:
> Hi,
> 
> Excerpts from Raimo Niskanen's message of 2010-10-13 09:04:30 +0200:
> > Scope identifiers are currently not implemented. They are also not quite
> > portable, especially how you find them out and translate them into the 32-bit
> > scope ID needed in sockaddr_in6{}.
> The most easy way is to use getaddrinfo(3).

Yes. Good hint. That is what the 'native' resolver method prefers.
Still remains Windows'es, the 8-tuple address representation problem
and which string representation to choose to be compatible with
other programs on each OS...

> 
> Thanks for your detailed reply.

You are welcome. This will need to be discussed so
we appreciate any hints about best practices.

> 
> Best regards,
> Michael

-- 

/ Raimo Niskanen, Erlang/OTP, Ericsson AB


More information about the erlang-bugs mailing list