scrape

suspend fun scrape(host: String, port: Int, req: AnnounceRequest): ScrapeResponse

Scrape the swarm statistics for req's info-hash from the UDP tracker at host:port. Mirrors send_udp_scrapeon_scrape_response.

Throws

on a tracker error packet or no valid response.