bind/sctp_bindx API - binding to all IPv4 and IPv6 addresses

From: David Lehmann <lehmann@ulticom.com>
Date: Mon Feb 07 2005 - 14:09:11 EST
('binary' encoding is not supported, stored as-is) ('binary' encoding is not supported, stored as-is) 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 14:35:06 2005

This archive was generated by hypermail 2.1.8 : Mon Mar 13 2006 - 15:22:23 EST