Code example for Socket

Methods: getReceiveBufferSize

0
        return socket.getSendBufferSize();
    } 
 
    @Override 
    public int getReceiveBufferSize() throws SocketException { 
        return socket.getReceiveBufferSize();
    } 
 
    @Override 
    public boolean isConnected() { 
        return socket.isConnected();
    } 
 
    @Override 
    public boolean isClosed() { 
        return socket.isClosed();
    } 
 
    @Override 
    public boolean isBound() { 
        return socket.isBound();