Code example for Socket

Methods: getSendBufferSize

0
    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();
    } 
 
    public void setKeepAlive(boolean on) throws SocketException {
        s.setKeepAlive(on);
    } 
 
    public boolean getKeepAlive() throws SocketException {