Microsoft Internet Security and Acceleration Server 2004 SDK |
The GetExternalPeerName method gets the peer name for the external socket. This method is implemented by calling the Windows Sockets (Winsock)getpeername function on the actual external socket.
HRESULT GetExternalPeerName( LPSOCKADDR Address, LPINT AddressLength );
When the firewall is chained to another firewall or proxy, this method returns the value for the next proxy in the chain.
Note This method should not be called from the session event handling portion of your filter code. At that point in the code, the network connection has not been established yet, and may be denied by the application filter or by another application filter. Typically you would call this method from within one of the IFWXDataFilter methods of a data filter attached to the connection; that is, at a point when you are certain that the connection has been established.
Server: Requires Windows Server 2003 or
Windows 2000.
Version: Requires Internet Security and Acceleration
Server 2004.
Header: Declared in Wspfwext.idl.