ae v0.0.3141 (2022-02-14T00:51:10Z)
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.