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.

Syntax

interface IFWXSocket : IUnknown

Methods

The IFWXSocket interface inherits the methods of the IUnknown interface.

In addition, IFWXSocket defines the following methods.

Method Description

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.

Recv

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

Shutdown

Starts transport shutdown on the socket.

Close

Closes 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

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

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.