Annc.TTL

[This is preliminary documentation and subject to change.]

The TTL property specifies the time-to-live for the enhancement.

Syntax

object.TTL [ = lTTL ]
 

Parts

object
Object expression that resolves to an Annc object.
lTTL
Long that specifies the time-to-live value. The default is 2.

The following table lists the threshold TTL values that define the scope of an IP multicast.
Threshold value Description
0 Restricted to same host
1 Restricted to same subnetwork
32 Restricted to same site
64 Restricted to same region
128 Restricted to same continent
256 Unrestricted in scope

Remarks

You must set a value for TTL. Otherwise the announcement file created by Annc.Store will not be valid.

Examples

The following example sets time-to-live to continent scope.

ann.TTL = 128
 

QuickInfo

  Windows NT: Unsupported.
  Windows: Requires Windows 98.
  Windows CE: Unsupported.
  Header: Declared in stream.idl.
  Import Library: Included as a resource in stream.dll.
  Unicode: Yes.