Details
-
Improvement
-
Status: Closed
-
Minor
-
Resolution: Fixed
-
None
-
None
Description
MulticastSocket defaults TTL for DatagramPackets to 1. This limits usefulness of the feature. There should be a way to override the TTL through configuration - i.e.: jcs.auxiliary.LTCP.attributes.UdpTTL=4
Assuming m_ttlOverride is available as a member variable - the change boils down to setting the ttl before the packet is sent - something like:
m_localSocket.setTimeToLive(m_ttlOverride);
m_localSocket.send( packet );
See MulticastSocket for more details.