
commonMain.com.ditchoom.socket.ClientToServerSocket.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of socket-jvm Show documentation
Show all versions of socket-jvm Show documentation
Simple multiplatform kotlin coroutines based socket.
package com.ditchoom.socket
import kotlin.time.Duration
import kotlin.time.Duration.Companion.seconds
interface ClientToServerSocket : ClientSocket {
suspend fun open(
port: Int,
timeout: Duration = 15.seconds,
hostname: String? = null
)
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy