how to disable diff proc tcp transport

2 posts / 0 new
Last post
Offline
Last seen: 2 days 12 hours ago
Joined: 06/09/2022
Posts: 15
how to disable diff proc tcp transport

hi, i follow these setp in the html: https://community.rti.com/kb/using-udp-discovery-and-tcp-user-data

to config using udp for discovery and tcp for user data;

and simultaneous we need to transport in diff process in the same channel;

So i do these config:

1
2
3
4
5
6
7
<datawriter_qos>
    <transport_selection>
        <enabled_transports>
              <element>shmem</element>
            <element>DDS_TCPv4</element>
        </enabled_transports>
    </transport_selection>
</datawriter_qos>
 

but i found the diff process transport doing twice, one in shm and one in tcp;

how can i diable the tcp in diff proc transport and let it work in diff host(use one writer qos);

 

Thank you.

 

Howard's picture
Offline
Last seen: 1 day 18 hours ago
Joined: 11/29/2012
Posts: 429

Sorry, I'm not very clear what you are asking.  What do you mean by "diff proc transport", "diff process", "diff host".

Does "diff" mean "different"?  And "proc" mean "process"?  Even if I am correct, I still don't know what "different process transport" mean.

but i found the diff process transport doing twice, one in shm and one in tcp;

 
Are you saying that you found that the data was being sent twice, once through shared memory and once through TCP to the other process?  I assume that the other process is on the same host (that's the only way that the process would be able receive data through shared memory).   In any case, how did you determine that the sending process sent the data twice to the receiving process?   Connext DDS will discard duplicate data samples received.