Code example for Socket

Methods: connect, getReceiveBufferSize, getSendBufferSize, setReceiveBufferSize, setReuseAddress, setSendBufferSize, setTcpNoDelay