Code example for Socket

Methods: setKeepAlivesetSoTimeout