GenericSocket.setKeepAlive

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