´╗┐ CwclIrDAServer::wclIrDAServerDisconnectEvent Method
IrDA Framework
ContentsIndexHome
PreviousUpNext
CwclIrDAServer::wclIrDAServerDisconnectEvent Method

The event fires when a remote client has disconnected from the server.  

The prototype of the OnDisconnect event handler for IrDA server.

Syntax
C++
wclIrDAServerDisconnectEvent(OnDisconnect);
Parameters 
Description 
Sender 
The object that initiated the event.  
Client 
The CwclIrDAServerClientConnection represents a remote connected client.  
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.