'Add client.
Parameters
ip : str
IP address of the client.
sock : instance of socket.socket
The client socket.
verbose : bool, str, int, or None
If not None, override default verbose level (see
:func:`mne.verbose` and :ref:`Logging documentation <tut_logging>`
for more).'

@verbose
def _add_client(self, ip, sock, verbose=None):

    logger.info(('Adding    client    with    ip    =    %s' % ip))
    client = dict(ip=ip, id=len(self._clients), running=False, socket=sock)
    self._clients.append(client)
    return client['id']
