Share via


IWSDUdpAddress::GetSockaddr (Compact 2013)

3/26/2014

This method gets the socket address information.

Syntax

HRESULT* GetSockaddr(
  SOCKADDR_STORAGE* pSockAddr
);

Parameters

  • pSockAddr
    [out] Pointer to a SOCKADDR_STORAGE structure that contains the address information.

Return Value

The following table shows the possible error code return values.

Error code

Description

S_OK

This method completed successfully.

E_POINTER

pSockAddr is NULL.

E_FAIL

The method failed.

Requirements

Header

wsdapi.h

Library

wsdapi.lib

See Also

Reference

IWSDUdpAddress
Web Services on Devices Interfaces