The event fires when a connection to a remote device has been completed (with or without success).
wclClientConnectionConnectEvent(OnConnect);
Parameters |
Description |
Sender |
The object that initiated the event. |
Reason |
The disconnection code. If the parameter is WCL_E_SUCCESS the connection was closed by the Disconnect call. Otherwise indicates the disconnection reason. |
If the Error parameter of the event is not WCL_E_SUCCESS an application may call Connect method again from inside the event handler.
Copyright (c) 2006-2017. All rights reserved.
|