TCP Transport for RTI Data Distribution Service

Version 4.5e

rti_logo.gif
Real-Time Innovations, Inc.

The RTI TCP Transport enables communication between RTI Data Distribution Service applications using TCP. The communication can be either over a LAN or over a WAN.

Available Documentation

This document contains: For additional information, please see the following PDF documents:

Overview

Out of the box, RTI Data Distribution Service uses UDP and Shared Memory to communicate with other DDS applications. This configuration is appropriate for systems running within a single LAN. However, using the UDP transport introduces some problems when DDS applications in different LANs need to communicate:

RTI TCP Transport enables participant discovery and data exchange using the TCP protocol either on a LAN, or over the public WAN. RTI TCP Transport enables RTI Data Distribution Service to address the challenges of using TCP as a low-level communication mechanism between peers and limits the number of exposed ports to one. When using the default UDP transport, an RTI Data Distribution Service application uses multiple UDP ports for communication, which may make it unsuitable for deployment across firewalled networks.

Configuring the TCP Transport

The TCP transport is distributed as a shared library located under <RTI Data Distribution Service installation directory>/lib/<architecture>. The library is called nddstransporttcp.

There are two ways in which this transport can be configured:

  1. By setting up predefined property strings in the Property QoS Policy of the DomainParticipant (on UNIX, Solaris and Windows systems only).

    Refer to Configure TCP Transport with Property QoS Policy for the predefined property strings.

    With this first approach, RTI Data Distribution Service will dynamically load the TCP transport library at run time and then implicitly create and register the transport plugin.

  2. By instantiating a new transport and registering it with the DomainParticipant (available in C/C++ API only).

    Refer to NDDS_Transport_TCPv4_new for information on how to create a new TCP transport instance.

    Refer to NDDS_Transport_Support_register_transport for documentation on how to register the transport instance with RTI Data Distribution Service.

    To use this second approach, you need access to the TCP Transport Plugin API at compile time. Your application will have to include the following header file:

        #include "ndds/transport_tcp/transport_tcp_tcpv4.h"
    

    (The above path assumes that RTI TCP Transport is installed in the same directory as RTI Data Distribution Service.)

Regardless of which way is used to configure the TCP transport, you will need to specify TCP as the transport in the initial peers. See TCP Transport Initial Peers for details.


RTI TCP Transport Version 4.5e Copyright © 23 Oct 2011 Real-Time Innovations, Inc