On Fri, 8 Dec 2006 10:19:57 +0100 "Louis Croisez" <louis.croisez at gmail.com> wrote: > Hi Eric, > first, thx for your responses. > I have tried to hping on destination IP 239.255.255.250 (a Multicast > ip used for example in the uPnP discovery process). > The inet_addr_type() function detect multicast well. > > For the question of the broadcast, your idea of using the mac dest > address is great. I will check this and give a feedback. > Cheers, > LOUIS You could also look at the destination ethernet address using is_multicast_ether_addr() and is_broadcast_ether_addr()