

def get_client_id(self):
    'Get the client ID\n\n        Returns\n        -------\n        id : int\n            The client ID.\n        '
    client_id._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

dataset/ETHPy150Open mne-tools/mne-python/mne/realtime/client.py RtClient.get_client_id/VarMisuse@12/52 `self`->`client_id`