korlibs
Toggle table of contents
6.1.0-SNAPSHOT
mingw
Target filter
mingw
Switch theme
Search in API
Skip to content
korlibs
korlibs-io-network-core
/
korlibs.io.socket
/
NativeAsyncServer
Native
Async
Server
mingw
class
NativeAsyncServer
(
val
socket
:
Win32Socket
,
val
requestPort
:
Int
,
val
backlog
:
Int
)
:
AsyncServerSocket
Members
Constructors
Native
Async
Server
Link copied to clipboard
mingw
constructor
(
socket
:
Win32Socket
,
requestPort
:
Int
,
backlog
:
Int
)
Properties
backlog
Link copied to clipboard
mingw
open
override
val
backlog
:
Int
host
Link copied to clipboard
mingw
open
override
val
host
:
String
port
Link copied to clipboard
mingw
open
override
val
port
:
Int
request
Port
Link copied to clipboard
mingw
open
override
val
requestPort
:
Int
socket
Link copied to clipboard
mingw
val
socket
:
Win32Socket
Functions
accept
Link copied to clipboard
mingw
open
suspend override
fun
accept
(
)
:
AsyncSocket
close
Link copied to clipboard
mingw
open
suspend override
fun
close
(
)
listen
Link copied to clipboard
mingw
open
suspend
fun
listen
(
handler
:
suspend
(
AsyncSocket
)
->
Unit
)
:
AutoCloseable
listen
Flow
Link copied to clipboard
mingw
open
suspend
fun
listenFlow
(
)
:
Flow
<
AsyncSocket
>