Microsoft Internet Security and Acceleration Server 2004 SDK

IFWXConnection::SetClientAddress

The SetClientAddress method gives the client address for a connection returned by the IFWXSession::BindForClient method for which the client address was not previously specified.

HRESULT SetClientAddress(
  LPSOCKADDR ClientAddress,
  DWORD ClientAddressLength
);

Parameters

ClientAddress
[in] Pointer to a sockaddr structure that contains the address that the client used.
ClientAddressLength
[in] Length, in bytes, of the ClientAddress parameter.

Return Values

S_OK
The method succeeded.
E_INVALIDARG
Invalid address passed to the method, or the client address was already specified.
HRESULT_FROM_WIN32(Windows error code)
Windows Sockets (Winsock) or Windows error code. The method failed.

Requirements

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

See Also

IFWXConnection