Skip to main content

discover_with

Function discover_with 

Source
pub async fn discover_with(
    timeout: Duration,
    options: &DiscoveryOptions,
) -> Result<Vec<DeviceInfo>, GigeError>
Expand description

Discover devices as options say.

Each interface asks from a socket bound to its own address, sending to its subnet-directed broadcast and to the limited broadcast 255.255.255.255: only the second reaches a camera configured for another subnet, which is the camera a user most needs to find.