How can I join source-specific multicast (ssm) group using boost?
I’v successfully joined any-source multicast group using
set_option( ip::multicast::join_group( mcAddr.to_v4(), ifAddr.to_v4( )));
but I have no idea how to set ssm (IP_ADD_SOURCE_MEMBERSHIP).
How can I do it? Thank you.
Looks like you will have to implement their
SettableSocketOptionconcept. Checking out how existing multicast options are done (svn link) might help.