Function timely::communication::networking::create_sockets[][src]

pub fn create_sockets(
    addresses: Vec<String, Global>,
    my_index: usize,
    noisy: bool
) -> Result<Vec<Option<TcpStream>, Global>, Error>

Creates socket connections from a list of host addresses.

The item at index i in the resulting vec, is a Some(TcpSocket) to process i, except for item my_index which is None (no socket to self).