Skip to main content

candidates_from

Function candidates_from 

Source
fn candidates_from(
    agents: Vec<(String, String)>,
    instances: Vec<InstanceRecord>,
    own_url: &str,
    own_pid: u32,
) -> Vec<(String, String)>
Expand description

The addresses to ask, in the order found, each once: never this instance, and only loopback ones. An instance record is listed only while its srv lives; either source is a file any local process can write, so each address is looked at (who listens there) before it is asked.