cancelQuery

open fun cancelQuery(queryId: Long): Boolean

Cancel a DNS query.

Cancels a query started by querySrv.

Return

true if the specified query was canceled. false if the specified query has already completed or is not valid.

Parameters

queryId

ID of the query to cancel.