my understanding is that
if you specify the IPv4 wildcard address you get only IPv4 addresses
if you specify the IPv6 wildcard address you get IPv4 and IPv6
addresses.
Best regards
Michael
On Feb 7, 2005, at 20:09 Uhr, David Lehmann wrote:
> Hello,
>
> In the SCTP API draft, section 4.1.2, it states:
> If addr is specified as a wildcard (INADDR_ANY for an IPv4 address,
> or as IN6ADDR_ANY_INIT or in6addr_any for an IPv6 address), the
> operating system will associate the endpoint with an optimal address
> set of the available interfaces.
>
> If an app passes the AF_INET6 wildcard address to bind() with a
> PF_INET6
> socket, does it bind to all IPv4 _and_ IPv6 addresses since an PF_INET6
> socket "can use both IPv6 and IPv4 addresses"?
>
> If not, how does an app bind to all IPv6 and IPv4 addresses?
>
> --
>
> David Lehmann Ulticom, Inc.
> AOL/Yahoo IM: davidULCM 1020 Briggs Road
> 1-856-787-2729 Mt. Laurel, NJ 08054 USA
Received on Mon Feb 7 16:44:47 2005
This archive was generated by hypermail 2.1.8 : Mon Mar 13 2006 - 15:22:23 EST