TwclIrDAServer.DoConnect(TwclIrDAServerClientConnection,Integer) Method

Fires the OnConnect event.

Namespace: wclIrDAServers
protected
 procedure DoConnect(const Client: TwclIrDAServerClientConnection;
 const Error: Integer); virtual;

Parameters

Client
Type: TwclIrDAServerClientConnection

The TwclIrDAServerClientConnection represents a remote connected client.

Error
Type: Integer

The connection operation result code. If the parameter is wclErrors.WCL_E_SUCCESS the connection to a remote device was established and the remote device is connected. Otherwise the connection was not established and the remote device is not connected.