Replies: 1 comment 1 reply
-
Hi @hehenihao, This is the expected behavior. Enabling both transports layers ensures that the sample is sent by TCP and UDP. The sample will be added to the DataReader History once it is received in any of the enabled transports. The second time the same sample is received is discarded because the DataReader already knows it. It is a redundancy mechanism. |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Now i have a publisher and subscriber can communnicate using TCP transport or UDP transport separately. I wonder which kind of tanport is preferred or both tranports will be in use if I enable both TCP and UDP tansports on publisher and subscriber side.
I test this, but i'm confused by the reslut.
pushliser:
subscriber:
so the subscriber can receive data correctly.
but on wireshark, I get the both UPD and tcp tanffic. I can enusre that there is only one subscriber in the dds domain.
Can someone explain to me how can this happend?
Beta Was this translation helpful? Give feedback.
All reactions