On Thu, Dec 18, 2014 at 01:06:51PM +0100, Niels Möller wrote:
> Hmm. Adding an interface option to specify an ip address, and using
> bind(2) to bind that as the local address of the socket before
> connecting, should be straightforward.
> 
> Not sure how to deal with interface identifiers, though. How should that
> work? I'm aware of the SO_BINDTODEVICE setsockopt, but I'm not sure
> that's what you are asking for.

By its nature, you cannot connect to an IPv6 link local address without
specifying the interface. Basically, to be able to connect to a server
on a LAN without a public IPv6 prefix and an IPv4 address.
I have not idea of how linux exposes that feature to user space.

regards,

-- 
Sylvain
_______________________________________________
lsh-bugs mailing list
[email protected]
http://lists.lysator.liu.se/mailman/listinfo/lsh-bugs

Reply via email to