ae ~next (2021-10-23T04:25:29.3345725)
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.