-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
Hi Adam,
Typically the routing table does a lot of work. Much like 127.0.0.0/8 the mask of a link-local will make it unprefered by 'public' traffic. There is also a syntax for specifying the outbound interface for traffic.
Routing tables won't do much for you when you have several different IP addresses (stateless autocnfigured, privacy extension and static) within the same network on the same physical interface - they'll all use the same route. The longest match algorithm would more or less lead to a random choice of source addresses.
If you want a specific source address to be used, you have to specify it ... no big deal, though. bind() hasn't changed that much.