Windows Media Services SDK banner art
PreviousNext

Channel.MulticastTimeToLive Property

Returns or sets the multicast time-to-live (TTL) value of the station.

Syntax

Station.MulticastTimeToLive

Remarks

The TTL value determines the maximum number of times a multicast can be forwarded by routers as it passes along a network. This is called the scope of the multicast. At each hop along the route, the router decrements the TTL. When the value reaches 1, the next router does not forward the multicast.

Allowable values range from 1 through 255. Choose the value 1 to limit the multicast to your immediate subnetwork. To find the optimum value to limit a multicast to an intranet multicast, consult your network administrator. The following values are suggested.

Option Value
Local network 1
Intranet 32
Internet 128

Example

' Get the second station
Set MyStation = NSChannelMgr.Channels.Item(1)
MyStation.MulticastTimeToLive = 32
MsgBox ("Multicast will pass through up to " & _
        MyStation.MulticastTimeToLive & " subnets.")

See Also

Channel Objects

PreviousNext


© 1996-1999 Microsoft Corporation. All rights reserved.