Announce multicast groups on multicast subscribe.
This commit is contained in:
@@ -167,6 +167,7 @@ void Network::multicastSubscribe(const MulticastGroup &mg)
|
|||||||
return;
|
return;
|
||||||
_myMulticastGroups.push_back(mg);
|
_myMulticastGroups.push_back(mg);
|
||||||
std::sort(_myMulticastGroups.begin(),_myMulticastGroups.end());
|
std::sort(_myMulticastGroups.begin(),_myMulticastGroups.end());
|
||||||
|
_announceMulticastGroups();
|
||||||
}
|
}
|
||||||
|
|
||||||
void Network::multicastUnsubscribe(const MulticastGroup &mg)
|
void Network::multicastUnsubscribe(const MulticastGroup &mg)
|
||||||
|
|||||||
Reference in New Issue
Block a user