Microsoft Internet Security and Acceleration Server 2004 SDK

IFWXNetworkSocket::SetIpFilter

The SetIpFilter method sets the IP filter for the socket. It sets a new IP filter if there was not one, or replaces the current IP filter with a new one.

HRESULT SetIpFilter(
  IFWXIpFilter* pIpFilter
);

Parameters

pIpFilter
[in] Pointer to the IFWXIpFilter interface. Setting this parameter equal to NULL will result in no IP address restrictions for this socket.

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

IFWXNetworkSocket, IFWXIpFilter