ae ~master (2024-01-05T13:09:51Z)
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.