Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Gets the socket address information.
Syntax
HRESULT GetSockaddr(
[out] SOCKADDR_STORAGE *pSockAddr
);
Parameters
[out] pSockAddr
Pointer to a SOCKADDR_STORAGE structure that contains the address information.
Return value
Possible return values include, but are not limited to, the following:
| Return code | Description |
|---|---|
|
Method completed successfully. |
|
pSockAddr is NULL. |
|
The method failed. |
Requirements
| Requirement | Value |
|---|---|
| Minimum supported client | Windows Vista [desktop apps only] |
| Minimum supported server | Windows Server 2008 [desktop apps only] |
| Target Platform | Windows |
| Header | wsdbase.h (include Wsdapi.h) |
| DLL | Wsdapi.dll |