NetworkAddress

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

Represents remote endpoint with hostname and port.

The address will be resolved after construction.

Throws

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

Represents remote endpoint with hostname and port.

The address will be resolved after construction.

Throws

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