*/
    @Override
    public int oldWrite(ByteBuffer b) {
        if(!isConnected)
            throw new IllegalStateException(this+"Channel is not currently connected");        
        return super.oldWrite(b);
    }