UdpTransportSettings.TimeToLive Property

Definition

Gets or sets a value that specifies the number of network segment hops that a multicast packet can traverse.

C#
public int TimeToLive { get; set; }

Property Value

The number of network segment hops.

Remarks

This property exposes the functionality associated with the IP_MULTICAST_TTL and IP_TTL socket options. The default value is 1.

Applies to

Produk Versi
.NET Framework 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1