''

def send(self, msg, ip='<broadcast>'):

    _udp_broadcast_socket = socket.socket(socket.AF_INET, socket.SOCK_DGRAM)
    _udp_broadcast_socket.setsockopt(socket.SOL_SOCKET, socket.SO_REUSEADDR, 1)
    if isinstance(ip, (tuple, list)):
        for addr in ip:
            _udp_broadcast_socket.sendto(msg, (addr, 20086))
    elif (ip == '<broadcast>'):
        _udp_broadcast_socket.setsockopt(socket.SOL_SOCKET, socket.SO_BROADCAST, 1)
        _udp_broadcast_socket.sendto(msg, ('255.255.255.255', 20086))
    else:
        _udp_broadcast_socket.sendto(msg, (ip, 20086))
