 | wclClientConnectionConnect Method |
Starts the connection operation to a remote device.
Namespace: wclCommunicationAssembly: wclCommunication (in wclCommunication.dll) Version: 8.0.6.0
Syntaxprotected int Connect(
wclMessageProcessingMethod MessageProcessing
)
Protected Function Connect (
MessageProcessing As wclMessageProcessingMethod
) As Integer
protected:
int Connect(
wclMessageProcessingMethod MessageProcessing
)
Parameters
- MessageProcessing wclMessageProcessingMethod
-
A message processing method that should be used by the connection.
Return Value
Int32
If the method completed with success the return value is
WCL_E_SUCCESS. Otherwise the method returns one of the
WCL error codes.
Remarks
The method starts a connection operation to a remote device. If the
method success that does not mean that the connection was established.
That just means that the connection operation was started. The real
connection result will be passed to the OnConnect event
handler.
See Also