>> leave it to default address selection rule and logic in getaddrinfo(3). >I'm not sure how default address selection, at least ones I've seen would >help with this. >Perhaps they don't implement _destination_ address selection. they do. see draft-ietf-ipngwg-default-addr-select-06.txt section 5. itojun