def connect(self, host, port):
        """
        Connect this transport to the given address.
        """
        if self._connectedTo is not None:
            raise ValueError("Already connected")
        self._connectedTo = (host, port)

        Connect this transport to the given address.
        
stackoverflow/venv/lib/python3.6/site-packages/twisted/names/test/test_util.py