IFWXNetworkSocket::Listen method

Applies to: desktop apps only

The Listen method listens on a TCP socket.

Syntax

HRESULT Listen(
  [in]  INT Backlog
);

Parameters

  • Backlog [in]
    Maximum length of the queue of pending connections. This is the same as the backlog parameter of the Winsock listen function.

Return value

This method returns S_OK if the call is successful; otherwise, it returns an error code.

Remarks

The Listen method indicates to the network that you are willing to accept connections to the port for which you have a bind.

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

DLL

Wspsrv.exe

See also

IFWXNetworkSocket

 

 

Build date: 7/12/2010