Share via


IFPCConnectionLimit::TcpLimit property

Applies to: desktop apps only

The TcpLimit property gets or sets the number of concurrent TCP connections that are allowed for a single IP address.

This property is read/write.

Syntax

HRESULT put_TcpLimit(
  long lTcpLimit
);

HRESULT get_TcpLimit(
  long *plTcpLimit
);
' Data type: Long

Property TcpLimit( _
  ByVal lTcpLimit As long, _
  ByVal plTcpLimit As long _
) As Long

Property value

A 32-bit integer that specifies the number of concurrent TCP connections that are allowed for a single IP address.

Error codes

These property methods return S_OK if the call is successful; otherwise, they return an error code.

Remarks

This property is read/write. Its default value is 160 connections for a single IP address that is not configured as a special IP address.

In Forefront TMG Management, the value of this property determines the Maximum concurrent TCP connections per IP address setting on the Flood Mitigation page, and the Maximum half-open TCP connections setting is automatically calculated as half of the value of this property.

Requirements

Minimum supported client

Windows Vista

Minimum supported server

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

Version

Forefront Threat Management Gateway (TMG) 2010

IDL

Msfpccom.idl

DLL

Msfpccom.dll

See also

FPCConnectionLimit

 

 

Build date: 7/12/2010