Partager via


IWSDUdpAddress::GetTTL (Windows Embedded CE 6.0)

1/6/2010

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
Windows Embedded CE Windows Embedded CE 6.0 R2

See Also

Reference

IWSDUdpAddress
Web Services on Devices Interfaces