On 31/08/2007, at 12:45 AM, Zachary Loafman wrote:

>> The long answer is to use the specific interface information provided
>> by Avahi and bind your sockets to a specific interface, in IPv4 this
>> is optional, to use IPv6 link-local addreses, this is *required*
>
> Can you clarify this? Can IPv6 handle the multi-NIC link local routing
> correctly? How does it handle it, some sort of ARP on all NICs to find
> out which interface to send out over?
As I said, you need to specify the source interface when you bind()  
your socket.

For IPv4 this is optional, and will just "randomly" pick an interface  
to use - with IPv6 you -must- pick an interface or it won't even try

Avahi provides the interface index so you can use that information to  
bind the socket correctly.

Regards,
Trent
_______________________________________________
avahi mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/avahi

Reply via email to