###
Toggle table of contents
androidJvm
apple
common
linux
native
Target filter
androidJvm
apple
common
linux
native
Switch theme
Search in API
Skip to content
###
krch
/
org.danbrough.krch.socket
Package-level
declarations
Types
Functions
Types
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
actual
fun
createSocketImplementation
(
)
:
KSocket.Implementation
expect
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
>