Skip to main content

Module udp

Module udp 

Source
Expand description

The UDPv4 transport and the default port numbers (DDSI-RTPS 2.5, 8.5.3.4, 9.5 and 9.6.2).

One RTPS message is the payload of one UDP datagram (9.5). A UdpTransport opens the four sockets a participant needs (discovery and user traffic, each unicast and multicast), receives on them with one thread per socket, and hands the datagrams over a channel. It does not depend on an async runtime.

Structs§

Datagram
One received datagram: one RTPS message.
Incoming
The receiving end of a UdpTransport.
PortMapping
The tunable parameters of the port number expressions (9.6.2.3). Default gives the values required for out-of-the-box interoperability.
UdpConfig
Settings of a UdpTransport.
UdpTransport
The UDPv4 sockets of one participant.

Enums§

Channel
Which socket a datagram came in on.

Constants§

DEFAULT_MULTICAST_ADDRESS
The multicast address every participant announces on and listens to (9.6.2.4.1).