V4

open class V4 : IPAddress

Holder for an IPv4 address

See also

io.matthewnelson.kmp.tor.runtime.core.util.toInet4Address
io.matthewnelson.kmp.tor.runtime.core.util.toIPAddressV4

Inheritors

Types

Link copied to clipboard

Static instance for 0.0.0.0

Link copied to clipboard
object Companion

Properties

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.