code: def set_ip_port(self, ip, port):
          '''set ip and port'''
          self.address = ip
          self.port = port
          self.stop()
          self.start(f set_ip_port(self, ip, port):
          '''set ip and port'''
          self.address = ip
          self.port = port
          self.stop()
          self.start()
docs: set ip and port