Microsoft Internet Security and Acceleration Server 2004 SDK |
The GetClientSession method retrieves or, if necessary, creates a session object for a specified client address.
HRESULT GetClientSession( LPSOCKADDR Address, DWORD AddressLength, IFWXSession** ppiClientSession );
Inbound primary connections can be directed to a SecureNAT client by using the IFWXFirewall::CreatePrivateSession or IFWXFirewall::GetClientSession method. Use the IFWXFirewall::CreatePrivateSession method when the inbound connection was requested by an application, the SecureNAT client is not known by the Microsoft Firewall service, and no session object has been created. Use the IFWXFirewall::GetClientSession method only if the filter can assert that the client is configured to be a SecureNAT client of that server.
Server: Requires Windows Server 2003 or
Windows 2000.
Version: Requires Internet Security and Acceleration
Server 2004.
Header: Declared in Wspfwext.idl.