def tcpip(self, port: int):
        """restart adbd listening on TCP on PORT

        Return example:
            restarting in TCP mode port: 5555
        """
        with self.open_transport() as c:
            c.send_command("tcpip:" + str(port))
            c.check_okay()
            return c.read_until_close()
restart adbd listening on TCP on PORT

        Return example:
            restarting in TCP mode port: 5555
        
adbutils/_device_base.py