The FwxListenEvent structure contains parameters for an event of the fwx_Listen type.
This is the result of the Firewall client calling the listen function, or an application filter calling the IFWXSession::BindForClient method.
typedef struct {
LPSOCKADDR Address;
DWORD AddressLength;
IFWXConnection* piConnection;
GUID ProtocolGuid; } FwxListenEvent;
Pointer to a sockaddr structure that contains the address the socket was assigned. This is the same as the result of calling the getsockname function on the socket.
Length, in bytes, of the data pointed to by the Address member.
Pointer to the IFWXConnection interface on the Microsoft Firewall service connection object for this request.
The globally unique identifier (GUID) for the protocol, if known to the Firewall service. If the protocol is not known, this parameter has the value GUID_NULL.
The filter cannot fail this request because client applications do not expect the listen function to fail. The place for a filter to deny inbound access is in the bind request or when a connection actually arrives. For example, this could occur in an event of the fwx_AcceptedConnection type.
Server | Requires Windows Server 2008. |
---|---|
Version | Requires Forefront Threat Management Gateway (TMG). |
Header |
Declared in Wspfwext.idl. |
Send comments about this topic to Microsoft
Build date: 11/30/2009
© 2008 Microsoft Corporation. All rights reserved.