Microsoft Internet Security and Acceleration Server 2004 SDK

FwxEstablishedConnectionEvent

The FwxEstablishedConnectionEvent structure contains parameters for an event of the fwx_EstablishedConnection type.

This event provides notification of connections established for the 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 Microsoft Firewall service creates this event.

typedef struct {
INT Protocol;
DWORD AddressLength;
IFWXConnection* piConnection;
UserContextType UserContext; } FwxEstablishedConnectionEvent;

Members

Protocol
Protocol flags. This parameter can have the following flag values:
Value Meaning
FWX_PROTOCOL_TCP The connection uses the TCP protocol.
FWX_PROTOCOL_UDP The connection uses the UDP protocol.
AddressLength
Length, in bytes, of the data pointed to by the Address member.
piConnection
Pointer to the IFWXConnection interface on the Firewall service connection object for this request.
UserContext
User context for the connection. This is identical to the UserContextType parameter of the function that created the connection.

Remarks

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

Requirements

Server: Requires Windows Server 2003 or Windows 2000.
Version: Requires Internet Security and Acceleration Server 2004.
Header: Declared in Wspfwext.idl.

See Also

Structures