eventcore ~master (2021-12-17T12:21:51Z)
Dub
Repo
EventDriverSockets.receive
eventcore
driver
EventDriverSockets
Receives a single datagram.
interface
EventDriverSockets
@
safe
nothrow
void
receive
(
DatagramSocketFD
socket
,
ubyte
[]
buffer
,
IOMode
mode
,
DatagramIOCallback
on_receive_finish
)
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
Receives a single datagram.