async fn create_sockets(
    addresses: Vec<String>,
    my_index: u64,
    my_epoch: ComputeStartupEpoch
) -> Result<Vec<Option<Stream>>, Error>
Expand description

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).