Serial Framework
ContentsIndexHome
PreviousUpNext
CwclServerClientConnection::wclClientConnectionDisconnectEvent Method

The event fires when the remote connected device has been disconnected.

Syntax
C++
wclClientConnectionDisconnectEvent(OnDisconnect);
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.  
Copyright (c) 2006-2018. All rights reserved.