'Get the client ID.
Returns
id : int
The client ID.'

def get_client_id(self):

    self._send_fiff_command(MNE_RT_GET_CLIENT_ID)
    (tag, buff) = _recv_tag_raw(self._data_sock)
    if ((tag.kind == FIFF.FIFF_MNE_RT_CLIENT_ID) and (tag.type == FIFF.FIFFT_INT)):
        client_id = int(np.fromstring(buff[(-4):], dtype='>i4'))
    else:
        raise RuntimeError('wrong    tag    received')
    return client_id
