RTI Connext Traditional C++ API  Version 6.0.0
 All Classes Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
DDS_Locator_t Struct Reference

<<extension>> Type used to represent the addressing information needed to send a message to an RTPS Endpoint using one of the supported transports. More...

Public Attributes

DDS_Long kind
 The kind of locator.
 
DDS_UnsignedLong port
 the port number
 
DDS_Octet address [DDS_LOCATOR_ADDRESS_LENGTH_MAX]
 A DDS_LOCATOR_ADDRESS_LENGTH_MAX octet field to hold the IP address.
 

Detailed Description

<<extension>> Type used to represent the addressing information needed to send a message to an RTPS Endpoint using one of the supported transports.

Member Data Documentation

DDS_Long DDS_Locator_t::kind

The kind of locator.

If the Locator_t kind is DDS_LOCATOR_KIND_UDPv4, the address contains an IPv4 address. In this case, the leading 12 octets of the DDS_Locator_t::address must be zero. The last 4 octets of DDS_Locator_t::address are used to store the IPv4 address.

If the Locator_t kind is DDS_LOCATOR_KIND_UDPv6, the address contains an IPv6 address. IPv6 addresses typically use a shorthand hexadecimal notation that maps one-to-one to the 16 octets in the DDS_Locator_t::address field.

DDS_UnsignedLong DDS_Locator_t::port

the port number

DDS_Octet DDS_Locator_t::address[DDS_LOCATOR_ADDRESS_LENGTH_MAX]

A DDS_LOCATOR_ADDRESS_LENGTH_MAX octet field to hold the IP address.


RTI Connext Traditional C++ API Version 6.0.0 Copyright © Sun Mar 3 2019 Real-Time Innovations, Inc