toggle menu
korge-root
5.1.0
darwin
switch theme
search in API
korge-core
/
korlibs.io.net
/
BaseNativeAsyncSocketFactory
/
NativeAsyncServer
Native
Async
Server
darwin
class
NativeAsyncServer
(
val
socket
:
NativeSocket
,
val
requestPort
:
Int
,
val
backlog
:
Int
)
:
AsyncServer
Members
Constructors
Native
Async
Server
Link copied to clipboard
darwin
constructor
(
socket
:
NativeSocket
,
requestPort
:
Int
,
backlog
:
Int
)
Properties
backlog
Link copied to clipboard
darwin
open
override
val
backlog
:
Int
host
Link copied to clipboard
darwin
open
override
val
host
:
String
port
Link copied to clipboard
darwin
open
override
val
port
:
Int
request
Port
Link copied to clipboard
darwin
open
override
val
requestPort
:
Int
socket
Link copied to clipboard
darwin
val
socket
:
NativeSocket
Functions
accept
Link copied to clipboard
darwin
open
suspend override
fun
accept
(
)
:
AsyncClient
close
Link copied to clipboard
darwin
open
suspend override
fun
close
(
)
listen
Link copied to clipboard
darwin
open
suspend
fun
listen
(
handler
:
suspend
(
AsyncClient
)
->
Unit
)
:
Closeable
listen
Flow
Link copied to clipboard
darwin
open
suspend
fun
listenFlow
(
)
:
Flow
<
AsyncClient
>