The correct way is to use "in6addr_any" (or IN6ADDR_ANY_INIT to initialize
an existing one).

Note, also, that the TCP port space can be shared (I expect that's the 
default
for most cases), so you can use the IPv6 socket calls to send and receive
either IPv4 or IPv6 packets. The IPv4-mapped addresses have the form of
IPv6 addresses, but result in IPv4 underneath. So, you can write a single
server with a single socket that does both, in many cases.

                                        +-DLS

-
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to