eventcore ~master (2021-12-17T12:21:51Z)
Dub
Repo
EventDriverSockets.listenStream
eventcore
driver
EventDriverSockets
Creates a socket listening for incoming stream connections.
StreamListenSocketFD
listenStream
(Address bind_address, StreamListenOptions options, AcceptCallback on_accept)
interface
EventDriverSockets
@
safe
nothrow
StreamListenSocketFD
listenStream
(
scope
Address
bind_address
,
StreamListenOptions
options
,
AcceptCallback
on_accept
)
StreamListenSocketFD
listenStream
(Address bind_address, AcceptCallback on_accept)
Meta
Source
See Implementation
eventcore
driver
EventDriverSockets
functions
addRef
adoptDatagramSocket
adoptStream
cancelConnectStream
cancelRead
cancelReceive
cancelSend
cancelWrite
connectStream
createDatagramSocket
getConnectionState
getLocalAddress
getRemoteAddress
isValid
joinMulticastGroup
listenStream
rawUserData
read
receive
releaseRef
send
setBroadcast
setKeepAlive
setKeepAliveParams
setOption
setTCPNoDelay
setTargetAddress
setUserTimeout
shutdown
waitForConnections
waitForData
write
properties
userData
Creates a socket listening for incoming stream connections.