def connect(self, addr: NetworkAddress, transmit=True) -> None:
        """
        Initiate the TLS handshake.

        This method can only be called for clients and a single time.
        """
        self._quic.connect(addr, now=self._loop.time())
        if transmit:
            self.transmit()

        Initiate the TLS handshake.

        This method can only be called for clients and a single time.
        
src/aioquic/asyncio/protocol.py