FPCProtocolConnections.AddTCP
Method
Creates a new TCP connection object and returns a reference to
it.
VBScript Syntax[VBScript]
[ oFPCProtocolConnection = ] FPCProtocolConnections.AddTCP( Direction, lPortLow, lPortHigh )
C++ Syntax[C++]
HRESULT AddTCP(
FpcConnectionDirectionType Direction,
long lPortLow,
long lPortHigh,
IFPCProtocolConnection **poFPCProtocolConnection
);
Parameters
- Direction
- Required. Connection direction. It can have a value from the
FpcConnectionDirectionType
enumerated type.
- lPortLow
- Lower bound of the port range used in the connection.
- lPortHigh
- Higher bound of the port range used in the connection.
Return Value
- oFPCProtocolConnection
- Returns a reference to the new FPCProtocolConnection object if
successful; NULL otherwise.
Applies To
FPCProtocolConnections