Bluetooth Framework
ContentsIndexHome
PreviousUpNext
CwclRfCommServer::DoDisconnect Method

Fires the OnDisconnect event.

Syntax
C++
virtual void DoDisconnect(CwclRfCommServerClientConnection* Client, int Reason);
Parameters 
Description 
CwclRfCommServerClientConnection* Client 
The CwclServerClientConnection represents a remote connected client.  
int 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-2019. All rights reserved.