pub fn outbound(
config: OutboundConfig,
outbound_rx: Receiver<Data>,
socket_tx: Box<dyn DataLinkSender>,
)
Expand description
Spawns thread that sends out ICMP, DNS, or TCP probes.
§Arguments
-
‘config’ - configuration for the outbound worker thread
-
‘outbound_rx’ - on this channel we receive future tasks that are part of the current measurement
-
‘socket_tx’ - the sender object to send packets