Platform SDK: TAPI

IMcastLeaseInfo::get_TTL

The get_TTL method obtains the time to live (TTL) value associated with this lease.

HRESULT get_TTL(
  long *pTTL
);

Parameters

pTTL
[out] Pointer to a LONG that will receive the TTL value associated with this lease.

Return Values

Value Meaning
S_OK Method succeeded.
E_POINTER The caller passed in an invalid pointer argument.
E_FAIL There is no TTL associated with this lease.

Remarks

The TTL is more or less significant in the implementation of multicast routing. Generally, the higher the TTL value, the "larger" or more inclusive the multicast scope. Most applications need not address the TTL.

Requirements

  Windows NT/2000: Requires Windows 2000.
  Version: Requires TAPI 3.0 or later.
  Header: Declared in Mdhcp.h.
  Library: Use Mdhcpid.lib.

See Also

IMcastLeaseInfo