Share via


IFWXSocket interface

Applies to: desktop apps only

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.

Members

The IFWXSocket interface inherits from the IUnknown interface. IFWXSocket also has these types of members:

  • Methods

Methods

The IFWXSocket interface has these methods.

Method Description
Close

Closes the socket.

Recv

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

Send

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

SendTo

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

Shutdown

Starts transport shutdown on the socket.

 

Remarks

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.

Requirements

Minimum supported client

None supported

Minimum supported server

Windows Server 2008 R2, Windows Server 2008 with SP2 (64-bit only)

Version

Forefront Threat Management Gateway (TMG) 2010

Header

Wspfwext.idl

See also

Filter Interfaces

 

 

Build date: 7/12/2010