FPCProtocolDefinitions.AddUDP
Method
Creates a new UDP protocol definition object and returns a
reference to it.
VBScript Syntax[VBScript]
[ oFPCProtocolDefinition = ] FPCProtocolDefinitions.AddUDP( sName, InitialConnectionDirection, InitialConnectionPort )
C++ Syntax[C++]
HRESULT Add(
BSTR sName,
FpcUDPConnectionDirectionType InitialConnectionDirection,
long lInitialConnectionPort,
IFPCProtocolDefinition **poFPCProtocolDefinition
);
Parameters
- sName
- Required. String that specifies the name of the new protocol
object.
- InitialConnectionDirection
- The direction of the initial connection associated with the
protocol. Can have a value from the FpcUDPConnectionDirectionType
enumerated type.
- lInitialConnectionPort
- Long value specifying the port for the initial connection
associated with the protocol. Can be any value between 1 and
65535.
Return Value
- oFPCProtocolDefinition
- Returns a reference to an FPCProtocolDefinition object.
Applies To
FPCProtocolDefinitions