IFPCWebListenerProperties::TCPPort property
Applies to: desktop apps only
The TCPPort property gets or sets the TCP port for the Web listener.
This property is read/write.
Syntax
HRESULT put_TCPPort(
long lTCPPortNumber
);
HRESULT get_TCPPort(
long **plTCPPortNumber
);
' Data type: Long
Property TCPPort( _
ByVal lTCPPortNumber As long, _
ByVal plTCPPortNumber As long _
) As Long
Property value
A 32-bit integer that specifies the TCP port number.
Error codes
These property methods return S_OK if the call is successful; otherwise, they return an error code.
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
Minimum supported client |
Windows Vista |
Minimum supported server |
Windows Server 2008 R2, Windows Server 2008 with SP2 (64-bit only) |
Version |
Forefront Threat Management Gateway (TMG) 2010 |
IDL |
Msfpccom.idl |
DLL |
Msfpccom.dll |
See also
Build date: 7/12/2010