def METHOD_NAME(connection, x, y, tag, ip_address=None, strip=True):
    """
    Make a tag deliver to the given connection.
    :param connection: The connection to deliver to.
    :type connection:
        ~spinnman.connections.udp_packet_connections.UDPConnection
    :param int x:
        The X coordinate of the Ethernet-enabled chip we are sending the
        message to.
    :param int y:
        The Y coordinate of the Ethernet-enabled chip we are sending the
        message to.
    :param int tag:
        The ID of the tag to retarget.
    :param str ip_address:
        What IP address to send the message to. If ``None``, the connection is
        assumed to be connected to a specific board already.
    :param bool strip:
        Whether the tag should strip the SDP header before sending to the
        connection.
    """
    # If the connection itself knows how, delegate to it
    if isinstance(connection, SpallocEIEIOListener):
        connection.update_tag(x, y, tag)
    elif isinstance(connection, SpallocEIEIOConnection):
        connection.update_tag(tag)
    elif ip_address:
        reprogram_tag_to_listener(connection, x, y, ip_address, tag, strip)
    else:
        reprogram_tag(connection, tag, strip)