´╗┐ TwclIrDAServer.DoDisconnect Method
IrDA Framework
ContentsIndexHome
PreviousUpNext
TwclIrDAServer.DoDisconnect Method

Fires the OnDisconnect event.

Syntax
Pascal
procedure DoDisconnect(const Client: TwclIrDAServerClientConnection; const Reason: Integer); virtual;
Parameters 
Description 
const Client: TwclIrDAServerClientConnection 
The TwclIrDAServerClientConnection represents a remote connected client.  
const Reason: Integer 
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.