Scoop API

scoop:scoop.asyncio:0.1.0

TcpResolutionTimeoutException

class TcpResolutionTimeoutException

source · line 86
public
public class TcpResolutionTimeoutException internal constructor(
    /**
     * The originally requested host name.
     */
    public val host: OsString,
    /**
         * The requested destination port.
         */
    public val port: Int,
    /**
         * The address family whose lookup timed out.
         */
    public val family: AddressFamily,
    /**
     * The configured timeout duration.
     */
    public val limit: Duration,
    /**
         * The measured elapsed time when the timeout was reported.
         */
    public val elapsed: Duration
) : Exception(Some("TCP address resolution timeout"))

Address resolution exceeded its configured time limit for the specified family.

property port

source · line 94
public
public val port: Int

get: public read-only

The requested destination port.

property elapsed

source · line 106
public
public val elapsed: Duration

get: public read-only

The measured elapsed time when the timeout was reported.