resolvePtr
external fun resolvePtr(hostname: String, callback: (err: ErrnoException?, @R|kotlin/ParameterName|(name = String(addresses)) ERROR CLASS: Symbol not found for js.array.ReadonlyArray<kotlin/String>) -> Unit)(source)
Uses the DNS protocol to resolve pointer records (PTR
records) for the hostname
. The addresses
argument passed to the callback
function will be an array of strings containing the reply records.
Since
v6.0.0
suspend external fun resolvePtr(hostname: String): ERROR CLASS: Symbol not found for js.array.ReadonlyArray<kotlin/String>(source)