#!/usr/bin/python # mdap-send-ant-search.py # Adrian 'pagvac' Pastor | GNUCITIZEN | www.gnucitizen.org import socket import struct import sys sock = socket.socket(socket.AF_INET, socket.SOCK_DGRAM, socket.IPPROTO_UDP) sock.setsockopt(socket.IPPROTO_IP, socket.IP_MULTICAST_TTL, 2) sock.sendto('ANT-SEARCH MDAP/1.1\r\n46', ('224.0.0.103',3235))