> i remember what VisionFS does. they sort list by bits-same-as-queryer > from top down. this makes "closest" ip the first in the list. Samba also does this and has done so for quite a while. see the function sort_query_replies().