15.8. Fast DDS over TCP

As explained in TCP Transport, Fast DDS offers the possibility to communicate nodes within distributed applications with DDS over a TCP transport layer. This has the advantage of leveraging the builtin flow control and reliability of the TCP protocol, which in the context of DDS applications is best suited for the transmission of large payloads, i.e. large data samples, over lossy networks. Examples of such cases would be transmitting video or large point clouds resulting from laser scanning over WiFi links.

The configuration of the TCP transport typically involves an a priori knowledge of the deployment in order to set Initial peers for Discovery, which may not always be possible and creates difficulties when reallocating nodes of the distributed applications, as the entire discovery configuration needs to be changed. To overcome this problem, these use cases present an approach for leveraging the Fast DDS’ TCP transport capabilities while at the same time not requiring configuration modifications when the deployment changes over time. One option is to configure the participant discovery phase (see Discovery phases) to occur over UDP multicast, while the application data delivery occurs over TCP. Also, it is possible to enable TCP communication while using Discovery Server to manage Discovery.