def tcpip(self, port: int or str = 5555) -> None:
        '''Restart adb server listening on TCP on PORT.'''
        self._execute('-s', self.device_sn, 'tcpip', str(port))
def tcpip ( self , port : int or str = 5555 ) -> None : self . _execute ( '-s' , self . device_sn , 'tcpip' , str ( port ) )
Restart adb server listening on TCP on PORT.