Fires the OnConnect
event.
- Parameters
-
Error | The connection operation result code. If the parameter is WCL_E_SUCCESS the connection to a remote device was established and the remote device is connected. Otherwise the connection was not established and the remote device is not connected. |