setKeepAlive

abstract suspend fun setKeepAlive(keepAlive: Boolean)

Sets the SO_KEEPALIVE option.

Parameters

keepAlive

The value to set.