Microsoft Internet Security and Acceleration Server 2000

FwxEstablishedConnectionEvent

The FwxEstablishedConnectionEvent structure contains parameters for the fwx_EstablishedConnection event.

This event provides notification of connections established for IFWXSession::AllowFutureConnect, IFWXSession::BindForClient, and IFWXSession::RedirectConnections methods. When a connection is made as a result of a call to one of these three methods, the Firewall service creates this event.

Remarks

It is impossible to register for this event. This event is sent only to the filter that called one of the previous methods and passed its interface.

typedef struct{
  INT Protocol; 
  [ref] LPSOCKADDR Address;
  DWORD AddressLength; 
  IFWXConnection *piConnection; 
  UserContextType UserContext; 
} FwxEstablishedConnectionEvent;

Members

Protocol
[in] Protocol flags. This parameter can have the following flag values:
Value Description
FWX_PROTOCOL_TCP The connection will use the TCP protocol.
FWX_PROTOCOL_UDP The connection will use the UDP protocol.

Address
[in] Pointer to a sockaddr structure that contains the address to which the client is attempting to connect.
AddressLength
[in] Length, in bytes, of the data pointed to by the Address member.
piConnection
[in] Pointer to the IFWXConnection interface on the Firewall service connection object that is terminating. References to this object must be released in response to the event.
UserContext
[in] User context for the connection. This is identical to the UserContextType parameter of the function that created the connection.

Requirements

  Windows NT/2000: Requires Windows 2000.
  Version: Requires ISA Server 2000.
  Header: Wspfwext.idl.