getting an id from the mac with udp protocol