Microsoft Internet Security and Acceleration Server 2000

FPCProtocolConnections.AddUDP Method

Creates a new UDP connection object and returns a reference to it.

VBScript Syntax[VBScript]

[ oFPCProtocolConnection = ] FPCProtocolConnections.AddUDP( Direction, lPortLow, lPortHigh )

C++ Syntax[C++]

HRESULT AddUDP(
  FpcUDPConnectionDirectionType Direction,
  long lPortLow,
  long lPortHigh,
 IFPCProtocolConnection **poFPCProtocolConnection
);

Parameters

Direction
Required. Connection direction. It can have a value from the FpcUDPConnectionDirectionType 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