RTI Connext Micro C API Version 4.3.0
Loading...
Searching...
No Matches
DDS_LocatorEx Struct Reference

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

#include <dds_c_infrastructure.h>

Data Fields

DDS_Long kind
 The kind of locator.
 
DDS_UnsignedLong port
 the port number
 
DDS_Octet address [RTPS_LOCATOR_ADDRESS_LENGTH_MAX]
 An array of octets with maximum length of DDS_LOCATOR_ADDRESS_LENGTH_MAX to hold the address.
 

Detailed Description

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

Field Documentation

◆ kind

DDS_Long DDS_LocatorEx::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 in big-endian order.

If the Locator_t kind is not DDS_LOCATOR_KIND_UDPv4, the address is not interpreted and is treated as an array of 16 octets.

◆ port

DDS_UnsignedLong DDS_LocatorEx::port

the port number

◆ address

DDS_Octet DDS_LocatorEx::address[RTPS_LOCATOR_ADDRESS_LENGTH_MAX]

An array of octets with maximum length of DDS_LOCATOR_ADDRESS_LENGTH_MAX to hold the address.