Microsoft Internet Security and Acceleration Server 2004 SDK

IFWXSession::GetClientAddress

The GetClientAddress method retrieves the address of the user.

HRESULT GetClientAddress(
  LPSOCKADDR Address,
  LPDWORD AddressLength
);

Parameters

Address
[out] Pointer to a sockaddr structure that receives the client address (port = 0 for AF_INET).
AddressLength
[in, out] 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.

Return Values

This method returns S_OK if the call is successful; otherwise, it returns an error code.

Requirements

Server: Requires Windows Server 2003 or Windows 2000.
Version: Requires Internet Security and Acceleration Server 2004.
Header: Declared in Wspfwext.idl.

See Also

IFWXSession