RTI Connext Modern C++ API  Version 6.0.1
 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
NDDS_Transport_Address_t Struct Reference

Addresses are stored individually as network-ordered bytes. More...

Public Attributes

unsigned char network_ordered_value [NDDS_TRANSPORT_ADDRESS_LENGTH]

Detailed Description

Addresses are stored individually as network-ordered bytes.

RTI Connext addresses are numerically stored in a transport independent manner. RTI Connext uses a IPv6-compatible format, which means that the data structure to hold an NDDS_Transport_Address_t is the same size as a data structure needed to hold an IPv6 address.

In addition, the functions provided to translate a string representation of an RTI Connext address to a value assumes that the string presentation follows the IPv6 address presentation as specified in RFC 2373.

An NDDS_Transport_Address_t always stores the address in network-byte order (which is Big Endian).

For example, IPv4 multicast address of is represented by

{{0,0,0,0, 0,0,0,0, 0,0,0,0, 0xE1,0,0,0}} regardless of endianness,

where 0xE1 is the 13th byte of the structure (network_ordered_value[12]).

Member Data Documentation

unsigned char NDDS_Transport_Address_t::network_ordered_value[NDDS_TRANSPORT_ADDRESS_LENGTH]

network-byte ordered (i.e., bit 0 is the most significant bit and bit 128 is the least significant bit).

RTI Connext Modern C++ API Version 6.0.1 Copyright © Sat Nov 23 2019 Real-Time Innovations, Inc