Code example for Socket

Methods: setSendBufferSize

0
    public int getSoTimeout() throws SocketException { 
        return s.getSoTimeout();
    } 
 
    public void setSendBufferSize(int size) throws SocketException {
        s.setSendBufferSize(size);
    } 
 
    public int getSendBufferSize() throws SocketException { 
        return s.getSendBufferSize();
    } 
 
    public void setReceiveBufferSize(int size) throws SocketException {
        s.setReceiveBufferSize(size);
    } 
 
    public int getReceiveBufferSize() throws SocketException { 
        return s.getReceiveBufferSize();
    } 
 
Stop searching for code, let great code find you!  Add Codota to your java IDE