Re: v6 mapped v4 wildcard address fails with EADDRNOTAVAIL

From: Jeroen Massar
Date: Fri Mar 27 2009 - 04:22:40 EST


Dirk Engling wrote:
[..]
> So it came to me as a surprise that it wouldn't work under linux. Is
> this behaviour intentional? What would I need to do to get my software
> runnnig as expected?

Read RFC3493 and use getaddrinfo() in a loop to create listening sockets.

Also see: http://gsyc.escet.urjc.es/~eva/IPv6-web/ipv6.html
which has very nice examples for these cases.

Greets,
Jeroen

Attachment: signature.asc
Description: OpenPGP digital signature