V6

open class V6 : IPAddress

Holder for an IPv6 address

NOTE: No resolution of device network interfaces are performed for a non-null scope.

Parameters

scope

The network interface name or index number, or null if no scope was expressed.

See also

io.matthewnelson.kmp.tor.runtime.core.util.toInet6Address
io.matthewnelson.kmp.tor.runtime.core.util.toIPAddressV6

Inheritors

Types

Link copied to clipboard
open class AnyHost : IPAddress.V6

Holder for ::0

Link copied to clipboard
object Companion

Properties

Link copied to clipboard
Link copied to clipboard

Functions

Link copied to clipboard

Returns the raw bytes for this IPAddress in network byte order. Will either be 4 or 16 bytes in length (V4 or V6 respectively).

Link copied to clipboard

Returns value in its canonicalized hostname form

Link copied to clipboard
operator override fun compareTo(other: Address): Int
Link copied to clipboard
Link copied to clipboard
@JvmName(name = "inetAddressOf")
fun IPAddress.toInetAddress(): InetAddress
Link copied to clipboard

Creates a AddressMapping that instruct tor to unmap any addresses associated with the provided IPAddress.