TcpAddress

data class TcpAddress(val host: String, val port: Int, val displayName: String = ":") : Tag

Discovery handle for a TCP fabric: the host and port a joiner dials.

Pure data, so it lives in commonMain even though the TCP socket code that consumes it is JVM/Android-only.

Constructors

Link copied to clipboard
constructor(host: String, port: Int, displayName: String = ":")

Properties

Link copied to clipboard
open override val displayName: String
Link copied to clipboard
Link copied to clipboard
open override val peerKey: String
Link copied to clipboard
val port: Int