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
lTCPPortNumber
A 32-bit integer that specifies the TCP port number.plTCPPortNumber
Pointer to a variable that on return receives a 32-bit integer specifying 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 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
Send comments about this topic to Microsoft
Build date: 6/30/2010