TCPPort Property of the IFPCWebListenerProperties Interface

The TCPPort property gets or sets the TCP port for the Web listener.

[C++]
HRESULT put_TCPPort(
	long lTCPPortNumber
);
HRESULT get_TCPPort(
	long** plTCPPortNumber
);

Parameters

plTCPPortNumber

Pointer to a variable that on return receives a 32-bit integer specifying the TCP port number.

lTCPPortNumber

A 32-bit integer that specifies the TCP port number.

Return Value

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

[Visual Basic]
Property TCPPort As Long

Property Value

A 32-bit integer that specifies the TCP port number.

Remarks

This property is read/write. Its default value is 8080, and its range of permissible values is from 0 through 65535. In particular, by default, the TCP port on which the Forefront TMG computer listens for outgoing Web requests from Web proxy clients in the Internal network is 8080. When a Web listener for incoming HTTP traffic is created in Forefront TMG Management, the value of this property is automatically set to 80.

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

FPCWebListenerProperties


Send comments about this topic to Microsoft

Build date: 11/30/2009

© 2008 Microsoft Corporation. All rights reserved.

[an error occurred while processing this directive]