RTI TCP Transport
Version 6.0.1
|
The RTI TCP Transport enables communication between RTI Connext applications using TCP. The communication can be either over a LAN or over a WAN.
This document contains:
For additional information, please see the following PDF documents:
Out of the box, RTI Connext 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 Connext 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 Connext application uses multiple UDP ports for communication, which may make it unsuitable for deployment across firewalled networks.
The TCP transport is distributed as a shared library located under <RTI Connext installation directory>/lib/<architecture>. The library is called nddstransporttcp.
There are two ways in which this transport can be configured:
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 Connext will dynamically load the TCP transport library at run time and then implicitly create and register the transport plugin.
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 Connext.
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:
(The above path assumes that RTI TCP Transport is installed in the same directory as RTI Connext.)
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.