The TCPPort property gets or sets the TCP port for the Web listener.
HRESULT put_TCPPort( long lTCPPortNumber ); HRESULT get_TCPPort( long** plTCPPortNumber );
Pointer to a variable that on return receives a 32-bit integer specifying the TCP port number.
A 32-bit integer that specifies the TCP port number.
These property methods return S_OK if the call is successful; otherwise, they return an error code.
Property TCPPort As Long
A 32-bit integer that specifies the TCP port number.
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.
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. |
Send comments about this topic to Microsoft
Build date: 11/30/2009
© 2008 Microsoft Corporation. All rights reserved.