Hi,
I have scope_id (ipv6) related question. Is it required (or maybe optional)
to pass sockaddr_in6 structure with filled sin6_scope_id with interface
number/site prefix to connect() when I want to connect to link-local or
site-local address ?
If it's required then (almost) all currently available v6 applications will
not work with {link,site}-local adresses: connect(): Invalid argument.
on 2.4 kernels.
Draft scopedaddr-format says that quering getaddrinfo() with
only link-local address (without scope id/interface name) is ok
so I assume that connect()tion to link local address
(with sin6_scope_id = 0) should be ok for kernel, too.
Bye,
--
Arkadiusz Miśkiewicz http://www.misiek.eu.org/ipv6/
PLD GNU/Linux [IPv6 enabled] http://www.pld.org.pl/
|