ae v0.0.3186 (2022-07-03T09:06:15Z)
Home
Dub
Repo
GenericSocket.setKeepAlive
ae
net
asockets
GenericSocket
Enable TCP keep-alive on the socket with the given settings.
class
GenericSocket
final
void
setKeepAlive
(
bool
enabled
= true
,
int
time
= 10
,
int
interval
= 5
)
Meta
Source
See Implementation
ae
net
asockets
GenericSocket
aliases
daemon
localAddress
localAddressStr
remoteAddress
remoteAddressStr
functions
onError
onReadable
onWritable
setKeepAlive
toString
mixins
__anonymous
properties
_address
_addressStr
socket
variables
conn
daemonRead
daemonWrite
Enable TCP keep-alive on the socket with the given settings.