1
0
Fork 0

universes have a destination IP, defaulting to the appropriate multicast address

This commit is contained in:
Kevin Matz 2021-08-30 10:00:54 -04:00
parent 9b0ff5821b
commit d9e42f5c2f
2 changed files with 8 additions and 0 deletions

View File

@ -34,6 +34,7 @@ Universe::Universe()
, active_data_slots(0)
, provenance_(std::shared_ptr<DATA::data_header>(new DATA::data_header()))
{
destination.type = ACN::SDT::SDT_ADDR_NULL;
}

View File

@ -54,6 +54,13 @@ public:
virtual bool isSyncronized() const;
virtual void synchronize(uint8_t = 0);
/**
* @brief destination IP address
*
* Setting type to ACN::SDT::SDT_ADDR_NULL will send on the multicast group.
*/
ipAddress destination;
protected:
/**
* @brief \cite sACN 3.7 Active Data Slots