Package-level declarations

Types

Link copied to clipboard
expect abstract class NetworkAddress

Represents remote endpoint with hostname and port.

actual abstract class NetworkAddress

Represents remote endpoint with hostname and port.

actual typealias NetworkAddress = SocketAddress
actual abstract class NetworkAddress(val hostname: String, val port: Int, explicitAddress: Any? = null)

Represents remote endpoint with hostname and port.

Functions

Link copied to clipboard
expect fun NetworkAddress(hostname: String, port: Int): NetworkAddress

Represents remote endpoint with hostname and port.

actual fun NetworkAddress(hostname: String, port: Int): NetworkAddress

Represents remote endpoint with hostname and port.

actual fun NetworkAddress(hostname: String, port: Int): NetworkAddress
actual fun NetworkAddress(hostname: String, port: Int): NetworkAddress
Link copied to clipboard
fun ResolvedNetworkAddress(hostname: String, port: Int, explicitAddress: Any?): NetworkAddress

Properties

Link copied to clipboard

Network address. Usually, it's an IP address in string form. This will not trigger a reverse lookup.

Network address hostname.

Link copied to clipboard

Network address hostname. This may trigger a reverse lookup.

Network address hostname.

Link copied to clipboard
expect val NetworkAddress.port: Int

Network address port.

actual val NetworkAddress.port: Int

Network address port.

actual val NetworkAddress.port: Int