The GetClientAddress method retrieves the address of the user.
HRESULT GetClientAddress( [out] LPSOCKADDR Address, [in, out] LPDWORD AddressLength );
Pointer to a sockaddr structure that receives the client address (port = 0 for AF_INET).
Pointer to the length, in bytes, of the address specified in the Address parameter. On return, AddressLength receives the actual size of the address returned in Address.
This method returns S_OK if the call is successful; otherwise, it returns an error code.
|Server||Requires Windows Server 2008.|
|Version||Requires Forefront Threat Management Gateway (TMG).|
Declared in Wspfwext.idl.
Build date: 11/30/2009
© 2008 Microsoft Corporation. All rights reserved.[an error occurred while processing this directive]