Skip to main content

receive_arp_responses

Function receive_arp_responses 

Source
pub fn receive_arp_responses(
    rx: &mut Box<dyn DataLinkReceiver>,
    options: Arc<ScanOptions>,
    timed_out: Arc<AtomicBool>,
    vendor_list: &mut Vendor,
) -> (ResponseSummary, Vec<TargetDetails>)
Expand description

Wait at least N seconds and receive ARP network responses. The main downside of this function is the blocking nature of the datalink receiver: when the N seconds are elapsed, the receiver loop will therefore only stop on the next received frame. Therefore, the receiver should have been configured to stop at certain intervals (500ms for example). Performs the public receive_arp_responses operation.