Code example for Socket

Methods: setSendBufferSize

0
        super.setSoTimeout(to);
    } 
 
    @Override 
    public void setSendBufferSize(int size) throws SocketException {
        socket.setSendBufferSize(size);
    } 
 
    @Override 
    public void setReceiveBufferSize(int size) throws SocketException {
        socket.setReceiveBufferSize(size);
    } 
 
    @Override 
    public boolean getTcpNoDelay() throws SocketException { 
        return socket.getTcpNoDelay();
    } 
 
    @Override 
    public boolean getReuseAddress() throws SocketException { 
        return socket.getReuseAddress();