Function eCAL::UDP::GetMulticastTtl
Defined in File ecal_udp_configurations.h
Function Documentation
-
int eCAL::UDP::GetMulticastTtl()
GetMulticastTtl retrieves the Time-to-Live (TTL) value for UDP multicast communication.
If the network is disabled, it returns a TTL value of 0, indicating that multicast packets should not be forwarded beyond the local machine. If the network is enabled, it retrieves the configured UDP multicast TTL value from global configuration.
- Returns:
The TTL value for UDP multicast communication based on the network configuration.