ae v0.0.3053 (2021-06-01T17:26:23Z)
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.