[][src]Function ssdp_client::search

pub async fn search<'_>(
    search_target: &'_ SearchTarget,
    timeout: Duration,
    mx: usize
) -> Result<impl Stream<Item = Result<SearchResponse, Error>>, Error>

Search for SSDP control points within a network. Control Points will wait a random amount of time between 0 and mx seconds before responing to avoid flooding the requester with responses. Therefore, the timeout should be at least mx seconds.