def METHOD_NAME(self, cmd):
    """Send a command string to TCL RPC. Return the result that was read."""
    data = (cmd + OpenOcd.COMMAND_TOKEN).encode("utf-8")
    if self.verbose:
        print("<- ", data)
    self.sock.METHOD_NAME(data)
    return self._recv()