Serial Framework
ContentsIndexHome
PreviousUpNext
CwclServerConnection::DoDisconnect Method

Fires the OnDisconnect event.

Syntax
C++
virtual void DoDisconnect(CwclServerClientConnection* Client, int Reason);
Parameters 
Description 
CwclServerClientConnection* 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-2017. All rights reserved.