InetSocketAddress
expect class InetSocketAddress(hostname: String, port: Int) : SocketAddress
Content copied to clipboard
actual class InetSocketAddress(hostname: String, port: Int) : SocketAddress
Content copied to clipboard
actual data class InetSocketAddress(hostname: String, port: Int) : SocketAddress
Content copied to clipboard
Functions
Link copied to clipboard
The hostname of the socket address.
Link copied to clipboard
The port number of the socket address.
Link copied to clipboard
expect fun copy(hostname: String = this.hostname, port: Int = this.port): InetSocketAddress
Content copied to clipboard
Create a copy of InetSocketAddress.
actual fun copy(hostname: String = this.hostname, port: Int = this.port): InetSocketAddress
Content copied to clipboard