RTI Connext DDS Micro  Version 2.4.8
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
max_receive_ports
NAME
DDS_DomainParticipantResourceLimitsQosPolicy::max_receive_ports
DESCRIPTION
RTI Connext DDS Micro listens for discovery data and user data on different transports as specified by the user. The DDS_DomainParticipantResourceLimitsQosPolicy::max_receive_ports resource-limit sets the maximum number of addresses that can be listened on. As a rule of thumb, this resource limit can be determined as follows:
  • A user-traffic unicast port counts as 1.
  • A meta-traffic unicast port counts as 1.
  • A user-traffic multicast address counts as 1.
  • A meta-traffic multicast address counts as 1.
EXAMPLES
Consider the typical case with the UDP transport, using unicast and multicast for discovery data and unicast for user data:
  • Discovery data needs two ports.
  • User data needs one port.
Thus, this requires 3 resources.
Consider a case with the UDP transport, using unicast and multicast for discovery data and user data:
  • Discovery data needs two ports.
  • User data needs two ports.
Thus, this requires 4 resources.
Consider a case with the UDP transport, using unicast and 2 multicast addresses each for discovery data and user data:
  • Discovery data needs three ports.
  • User data needs three ports.
Thus, this requires 6 resources.
NOTES
The default value has been set to cover most cases. This resource-limit should only be changed if a lot of interfaces are supported (increase it) or if memory is extremely limited (decrease it).

RTI Connext DDS Micro Version 2.4.8 Copyright © Tue Apr 12 2016 Real-Time Innovations, Inc