Share via


TcpLimit Property of the IFPCConnectionLimit Interface

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

C++

HRESULT put_TcpLimit(
    long lTcpLimit
);
HRESULT get_TcpLimit(
    long* plTcpLimit
);

Parameters

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

  • plTcpLimit
    Pointer to a variable that on return receives a 32-bit integer specifying the number of concurrent TCP connections that are allowed for a single IP address.

Return Value

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

Visual Basic

Property TcpLimit As Long

Property Value

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

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

Client Requires Windows 7 or Windows Vista.
Server Requires Windows Server 2008 R2 or Windows Server 2008 x64 Edition with SP2.
Version Requires Forefront Threat Management Gateway (TMG) 2010.
IDL

Declared in Msfpccom.idl.

DLL

Requires Msfpccom.dll.

See Also

FPCConnectionLimit

Send comments about this topic to Microsoft

Build date: 6/30/2010