Microsoft Internet Security and Acceleration Server 2000 |
Attaches a data filter to this connection. The data filter is associated with a remote destination.
HRESULT AttachDataFilterWithDestination( IFWXDataFilter *piDataFilter, DataFilterPriorityClass PriorityClass, IUnknown *punkFilterContext, LPSOCKADDR ExternalAddress, INT ExternalAddressLength );
The data filter receives all datagrams sent through the connection but is removed if and when the service causes a destination to expire.
This method must be called only in the context of the IFWXSessionFilter::FirewallEventHandler method while handling an event of type fwx_Udp_Destination. This method would be used when you want the filter to attach only to data from a specific destination, even if the connection is not destination specific, as is the case for UDP connections.
The data filter will receive all of the packets on the connection.
The data filter will be detached from the connection automatically if the UDP destination expires.