PowerTCP Sockets for .NET
MulticastTimeToLive Property (UdpSocketOption)




Gets or sets the IP multicast time-to-live used when datagrams are sent to multicast addresses.
Syntax
'Declaration
 
<DefaultValueAttribute()>
Public Property MulticastTimeToLive As Integer
'Usage
 
Dim instance As UdpSocketOption
Dim value As Integer
 
instance.MulticastTimeToLive = value
 
value = instance.MulticastTimeToLive
[DefaultValue()]
public int MulticastTimeToLive {get; set;}
[DefaultValue()]
public: __property int get_MulticastTimeToLive();
public: __property void set_MulticastTimeToLive( 
   int value
);
[DefaultValue()]
public:
property int MulticastTimeToLive {
   int get();
   void set (    int value);
}

Property Value

An integer value representing the time-to-live value used when datagrams are sent to multicast addresses.
Remarks

The MulticastTimeToLive property specifies the number of routers (hops) that multicast datagrams are permitted to pass through before expiring on the network. For each router (hop), this property is decremented by 1. When this property reaches 0, each multicast datagram expires and is no longer forwarded through the network to other subnets.

See Also

Reference

UdpSocketOption Class
UdpSocketOption Members


PowerTCP Sockets for .NET Documentation Version 4.5
© 2018 Dart Communications. All Rights Reserved.
Send comments on this topic