def connect(self, host=None, port=(- 1), queryifhostnotfound=True):
    '[make a connection to the utopia host]\n\n        Args:\n            host ([type], optional): [description]. Defaults to None.\n            port (int, optional): [description]. Defaults to -1.\n            queryifhostnotfound (bool, optional): [description]. Defaults to True.\n\n        Returns:\n            [type]: [description]\n        '
    if host:
        self.host = host
    if (port > 0):
        self.port = port
    self.U.autoconnect(self.host, self.port, timeout_ms=5000, queryifhostnotfound=queryifhostnotfound)
    if self.U.isConnected:
        self.U.sendMessage(Subscribe(None, 'DEMSN'))
    return self.U.isConnected
[make a connection to the utopia host]

Args:
    host ([type], optional): [description]. Defaults to None.
    port (int, optional): [description]. Defaults to -1.
    queryifhostnotfound (bool, optional): [description]. Defaults to True.

Returns:
    [type]: [description]
def connect(self, host=None, port=(- 1), queryifhostnotfound=True):
    '[make a connection to the utopia host]\n\n        Args:\n            host ([type], optional): [description]. Defaults to None.\n            port (int, optional): [description]. Defaults to -1.\n            queryifhostnotfound (bool, optional): [description]. Defaults to True.\n\n        Returns:\n            [type]: [description]\n        '
    if host:
        self.host = host
    if (port > 0):
        self.port = port
    self.U.autoconnect(self.host, self.port, timeout_ms=5000, queryifhostnotfound=queryifhostnotfound)
    if self.U.isConnected:
        self.U.sendMessage(Subscribe(None, 'DEMSN'))
    return self.U.isConnected