I built a library for doing IGMP stuff. Now, the silly thing is, my library also does presence monitoring to make sure others are still part of the group.
IGMP does exactly the same thing at a lower level. Parting messages, polling to the router that it's still part of the same group, the whole thing. I've just repeated all the same work, and it's likely not as robust.
I can make everything a lot cleaner (and I wouldn't be reinventing the wheel) if I could tap into those packets.
Anyone have any experience doing this? Maybe create some sort of crazy socket? I don't want to use libpcap for it. I don't think the language matters, as long as it's possible using Sockets on Windows/Linux