###
Toggle table of contents
androidJvm
apple
common
linux
native
web
Target filter
androidJvm
apple
common
linux
native
web
Switch theme
Search in API
Skip to content
###
krch
/
org.danbrough.krch.socket
Package-level
declarations
Types
Functions
Types
KEnvironment
Web
Link copied to clipboard
web
open
class
KEnvironmentWeb
(
settings
:
KEnvironment.Settings
=
Settings()
)
:
KEnvironment
KSocket
Link copied to clipboard
class
KSocket
(
val
scope
:
CoroutineScope
,
val
host
:
String
,
val
port
:
Int
)
KSocket
Implementation
JVM
Link copied to clipboard
androidJvm
class
KSocketImplementationJVM
:
KSocket.Implementation
KSocket
Implementation
Native
Link copied to clipboard
native
class
KSocketImplementationNative
:
KSocket.Implementation
Functions
create
Socket
Implementation
Link copied to clipboard
androidJvm
common
native
web
actual
fun
createSocketImplementation
(
)
:
KSocket.Implementation
expect
fun
createSocketImplementation
(
)
:
KSocket.Implementation
actual
fun
createSocketImplementation
(
)
:
KSocket.Implementation
actual
fun
createSocketImplementation
(
)
:
KSocket.Implementation
socket
Address
Link copied to clipboard
apple
linux
native
actual
fun
socketAddress
(
host
:
String
,
port
:
Int
)
:
CValue
<
sockaddr_in
>
actual
fun
socketAddress
(
host
:
String
,
port
:
Int
)
:
CValue
<
sockaddr_in
>
expect
fun
socketAddress
(
host
:
String
,
port
:
Int
)
:
CValue
<
sockaddr_in
>