I have a program that listens for multicasts and I'd like it to be able to share a port with other instances of the same program, so that if I have 3 instances running on the same host, they can all share the same port.
Is it possible to do this, would it involve setsockopt and SO_REUSEADDR?
EDIT: I am going off of this site for my code, the only thing I've changed is what is sent in the message.