PlcServiceChannelMgr.BeginCreateChannel (METH)ΒΆ

METHOD BeginCreateChannel : UDINT

Will begin creating a new channel. A handle to this channel will be returned in hChannel. The state of this channel can be polled using this handle in GetCreateChannelResult.

InOut:

Scope

Name

Type

Initial

Comment

Return

BeginCreateChannel

UDINT

Input

stAddr

STRING

the address of the peer where the connection should be created to. it must be in the form <123.123.123.123> where each component is in the range of a UINT, but not zero, any component will be treated as a hex number!

dwCommBufferSize

DWORD

The size of the communication buffer that shall be used for this channel.

Output

hChannel

UINT

16#FFFF

A handle that can be used to get access to this channel callnig GetCreateChannelResult