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( [in] LPSOCKADDR ClientAddress, [in] DWORD ClientAddressLength );
Pointer to a sockaddr structure that contains the address that the client used.
Length, in bytes, of the ClientAddress parameter.
The method succeeded.
Invalid address passed to the method, or the client address was already specified.
Windows Sockets (Winsock) or Windows error code. The method failed.
Server | Requires Windows Server 2008. |
---|---|
Version | Requires Forefront Threat Management Gateway (TMG). |
Header |
Declared in Wspfwext.idl. |
DLL |
Requires Wspsrv.exe. |
Send comments about this topic to Microsoft
Build date: 11/30/2009
© 2008 Microsoft Corporation. All rights reserved.