Subject: Re: getaddrinfo() and PF_LOCAL
To: Stig Venaas <Stig.Venaas@uninett.no>
From: Assar Westerlund <firstname.lastname@example.org>
Date: 08/01/2001 14:31:41
Stig Venaas <Stig.Venaas@uninett.no> writes:
> You might turn off mapped addresses.
With IPV6_V6ONLY? Yes, except for older systems that don't have it...
> I think the order should be
> AF_INET6, AF_INET, AF_LOCAL.
AF_LOCAL also pose the problem that you have to unlink() the `socket'
in the file system before you can bind a new one. Since the code
calling getaddrinfo() doesn't have to know anything about AF_LOCAL, it
will have to be done by getaddrinfo. And what does getaddrinfo(NULL,
"4711", ) really mean, as in what filename should that refer to?