Number of seconds with no activity until the first keep-alive packet is sent.
Number of seconds between when successive keep-alive packets are sent if no acknowledgement is received.
SocketOSException if setting the options fails, or SocketFeatureException if setting keep-alive parameters is unsupported on the current platform.
Enables TCP keep-alive with the specified parameters.