Code example for Socket

Methods: setSoLinger, setSoTimeout, setTcpNoDelay