[−][src]Function ssdp_probe::ssdp_probe_v4
pub fn ssdp_probe_v4(
marker: &[u8],
max_results: usize,
max_duration: Duration
) -> Result<Vec<Ipv4Addr>, SsdpProbeError>
Perform an UPnP SSDP discovery on IPv4.
This will use the standard address 239.255.255.250:1900
Arguments
marker
: marker used to filter the results (if this is present in the received response, then the address will be returnedmax_results
: stop the discovery when the number of results is equal to thismax_duration
: stop the discovery after this duration
Returned Value
A list of all the addresses that responded to the discovery with a response containing the
sequence of bytes given in marker
. Note that there will be no duplicates in the list.