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

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.

lTcpLimit

A 32-bit integer that specifies 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 Vista or Windows XP.
Server Requires Windows Server 2008.
Version Requires Forefront Threat Management Gateway (TMG).
IDL

Declared in Msfpccom.idl.

DLL

Requires Msfpccom.dll.

See Also

FPCConnectionLimit


Send comments about this topic to Microsoft

Build date: 11/30/2009

© 2008 Microsoft Corporation. All rights reserved.