Share via


IWSDUdpAddress::GetTTL (Compact 2013)

3/26/2014

This method gets the time-to-live (TTL) for all outbound packets using this address.

Syntax

HRESULT GetTTL(
  DWORD* pdwTTL
);

Parameters

  • pdwTTL
    [out] Pointer to the TTL of outgoing UDP packets. Generally, the TTL represents the maximum number of hops before a packet is discarded. Some implementations interpret the TTL differently.

Return Value

The following table shows the possible error code return values.

Error code

Description

S_OK

This method completed successfully.

E_POINTER

pdwTTL is NULL.

Requirements

Header

wsdapi.h

Library

wsdapi.lib

See Also

Reference

IWSDUdpAddress
Web Services on Devices Interfaces