You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
- Time To Live (UDP only). See :ref:`transport_udp_udp`.
188
+
- ``uint8_t``
189
+
- ``1``
190
+
* - ``<non_blocking_send>``
191
+
- Whether to set the non-blocking send mode on the socket (NOT available for SHM type). See :ref:`transport_udp_transportDescriptor` and :ref:`transport_tcp_transportDescriptor`.
192
+
- ``bool``
193
+
- ``false``
194
+
* - ``<output_port>``
195
+
- Port used for output bound. If this field isn't defined, the output port will be random (UDP only).
196
+
- ``uint16_t``
197
+
- ``0``
198
+
* - ``<wan_addr>``
199
+
- Public WAN address when using TCPv4 transports. This field is optional if the transport doesn't need to define a WAN address (TCPv4 only).
200
+
- ``string``
201
+
-
202
+
* - ``<keep_alive_frequency_ms>``
203
+
- Frequency in milliseconds for sending :ref:`RTCP <rtcpdefinition>` keep-alive requests (TCP only).
204
+
- ``uint32_t``
205
+
- ``50000``
206
+
* - ``<keep_alive_timeout_ms>``
207
+
- Time in milliseconds since the last keep-alive request was sent to consider a connection as broken (TCP only).
208
+
- ``uint32_t``
209
+
- ``10000``
210
+
* - ``<max_logical_port>``
211
+
- The maximum number of logical ports to try during :ref:`RTCP <rtcpdefinition>` negotiations (TCP only).
212
+
- ``uint16_t``
213
+
- ``100``
214
+
* - ``<logical_port_range>``
215
+
- The maximum number of logical ports per request to try during :ref:`RTCP <rtcpdefinition>` negotiations (TCP only).
216
+
- ``uint16_t``
217
+
- ``20``
218
+
* - ``<logical_port_increment>``
219
+
- Increment between logical ports to try during :ref:`RTCP <rtcpdefinition>` negotiation (TCP only).
220
+
- ``uint16_t``
221
+
- ``2``
222
+
* - ``<listening_ports>``
223
+
- Local port to work as TCP acceptor for input connections. If not set, the transport will work as TCP client only. If set to 0, an available port will be automatically assigned (TCP only).
224
+
- ``List<uint16_t>``
225
+
-
226
+
* - ``<tls>``
227
+
- Allows to define TLS related parameters and options (TCP only).
228
+
- :ref:`tcp-tls`
229
+
-
230
+
* - ``<calculate_crc>``
231
+
- Calculates the Cyclic Redundancy Code (CRC) for error control (TCP only).
232
+
- ``bool``
233
+
- ``true``
234
+
* - ``<check_crc>``
235
+
- Check the CRC for error control (TCP only).
236
+
- ``bool``
237
+
- ``true``
238
+
* - ``<enable_tcp_nodelay>``
239
+
- Socket option for disabling the Nagle algorithm (TCP only).
240
+
- ``bool``
241
+
- ``false``
242
+
* - ``<tcp_negotiation_timeout>``
243
+
- Time to wait for logical port negotiation (in ms) (TCP only).
244
+
- ``uint32_t``
245
+
- ``0``
246
+
* - ``<keep_alive_thread>``
247
+
- Settings for the keep-alive thread.
248
+
- |ThreadSettings|
249
+
-
250
+
* - ``<accept_thread>``
251
+
- Settings for the accept thread.
252
+
- |ThreadSettings|
253
+
-
254
+
* - ``<segment_size>``
255
+
- Size (in bytes) of the shared-memory segment (Optional, SHM only).
256
+
- ``uint32_t``
257
+
- ``262144``
258
+
* - ``<port_queue_capacity>``
259
+
- Capacity (in number of messages) available to every Listener (Optional, SHM only).
260
+
- ``uint32_t``
261
+
- ``512``
262
+
* - ``<healthy_check_timeout_ms>``
263
+
- Maximum time-out (in milliseconds) used when checking whether a Listener is alive (Optional, SHM only).
264
+
- ``uint32_t``
265
+
- ``1000``
266
+
* - ``<rtps_dump_file>``
267
+
- Complete path (including file) where RTPS messages will be stored for debugging purposes. An empty string indicates no trace will be performed (Optional, SHM only).
268
+
- ``string``
269
+
- ``Empty``
270
+
* - ``<default_reception_threads>``
271
+
- Default |ThreadSettings| for the reception threads.
272
+
- |ThreadSettings|
273
+
-
274
+
* - ``<reception_threads>``
275
+
- |ThreadSettings| for the reception threads on specific ports.
276
+
- ``std::map<uint32_t, ThreadSettings>``
277
+
-
278
+
* - ``<dump_thread>``
279
+
- |ThreadSettings| for the SHM dump thread.
280
+
- |ThreadSettings|
281
+
-
282
+
>>>>>>> 76a3e66 (Add missing fields to transport descriptor documentation (#1111))
140
283
141
284
The following XML code shows an example of transport protocol configuration using all configurable parameters.
142
285
More examples of transports descriptors can be found in the :ref:`comm-transports-configuration` section.
@@ -145,7 +288,7 @@ More examples of transports descriptors can be found in the :ref:`comm-transport
0 commit comments