UdpTransportSettingsElement::TimeToLive Property

.NET Framework (current version)
 

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

Namespace:   System.ServiceModel.Discovery.Configuration
Assembly:  System.ServiceModel.Discovery (in System.ServiceModel.Discovery.dll)

public:
[ConfigurationPropertyAttribute("timeToLive", DefaultValue = 1)]
[IntegerValidatorAttribute(MinValue = 0, MaxValue = 255)]
property int TimeToLive {
	int get();
	void set(int value);
}

Property Value

Type: System::Int32

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

.NET Framework
Available since 4.0
Return to top
Show: