IFWXSocket Interface

The IFWXSocket interface is the Microsoft Firewall service socket interface.

For more information about how the IFWXSocket interface is used in application filters, see Filter Object Model.


interface IFWXSocket : IUnknown


The IFWXSocket interface inherits the methods of the IUnknown interface.

In addition, IFWXSocket defines the following methods.

Method Description


Sends a buffer asynchronously. It performs an overlapped send operation.


Sends a buffer asynchronously on UDP sockets to a specific address. It performs an overlapped sendto operation.


Receives a buffer asynchronously. It performs an overlapped receive (or receive from operation, depending on the socket type).


Starts transport shutdown on the socket.


Closes the socket.


Before releasing this interface, you must call IFWXSocket::Close or IFWXSocket::Shutdown on it.

This interface does not necessarily correspond to a network socket. It allows data filters to work with the data that is flowing through the socket by using a socket-like interface. A network socket implements the IFWXNetworkSocket interface. For more information about sockets and socket interfaces, see Socket Objects.


Server Requires Windows Server 2008.
Version Requires Forefront Threat Management Gateway (TMG).

Declared in Wspfwext.idl.

See Also

Filter Interfaces

Send comments about this topic to Microsoft

Build date: 11/30/2009

© 2008 Microsoft Corporation. All rights reserved.