Edit

Share via


UdpTransportSettingsElement.TimeToLive Property

Definition

Gets or sets the value of the TimeToLive property in a UDP transport configuration element.

public:
 property int TimeToLive { int get(); void set(int value); };
[System.Configuration.ConfigurationProperty("timeToLive", DefaultValue=1)]
[System.Configuration.IntegerValidator(MaxValue=255, MinValue=0)]
public int TimeToLive { get; set; }
[<System.Configuration.ConfigurationProperty("timeToLive", DefaultValue=1)>]
[<System.Configuration.IntegerValidator(MaxValue=255, MinValue=0)>]
member this.TimeToLive : int with get, set
Public Property TimeToLive As Integer

Property Value

The number of network segment hops that a multicast packet can traverse.

Attributes

Applies to