I have a socket that is registered to a multicast group. With this socket I am able to receive both multicast and unicast packets.

Is there any (simple) way to identify if a packet has been sent using multicast? (note - the same sender may send packets either multicast or unicast)

Thanks, Alon