Is it possible to receive data from more than one multicast group on a single socket?
For example:
void AddGroup(int sock, const char*
bind to the passive address, i.e. 0.0.0.0 for IPv4 and use ASM or SSM to pull in additional groups, e.g. IP_ADD_MEMBERSHIP as listed.
bind
IP_ADD_MEMBERSHIP
You can only bind once.