Function aggligator_util::net::adv::tcp_connect_links
source · pub async fn tcp_connect_links(
control: Control<IoTxBox, IoRxBox, TcpLinkTag>,
target: TargetSet
) -> Result<()>Expand description
Connects links of the aggregated connection to the target via all possible local interfaces and target’s IP addresses using TCP.
This function monitors the locally available network interfaces and IP addresses that
target resolves to and tries to establish a link from every local interface to every
IP address of the target. If the link is successfully established, it is added to the
connection specified via control.
Links that cannot be established or that fail are retried periodically.
The function returns when the connection is terminated.