eventcore ~master (2021-12-17T12:21:51Z)
Dub
Repo
EventDriverSockets.userData
eventcore
driver
EventDriverSockets
Retrieves a reference to a user-defined value associated with a descriptor.
FD
userData
[@property setter]
interface
EventDriverSockets
@
safe
nothrow @
property
final ref @
trusted
@
nogc
T
userData
(
T
FD
)
(
FD
descriptor
)
if
(
hasNoGCLifetime
!
T
)
FD
userData
[@property setter]
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
Retrieves a reference to a user-defined value associated with a descriptor.