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

Fires the OnData event.

Syntax
Pascal
procedure DoData(const Client: TwclIrDAServerClientConnection; const Data: Pointer; const Size: Cardinal); virtual;
Parameters 
Description 
const Client: TwclIrDAServerClientConnection 
A TwclIrDAServerClientConnection object represents a remote client connection.  
const Data: Pointer 
The pointer to the received data buffer. It is guaranteed that the parameter points to a valid data buffer. The data buffer is valid only inside the event handler. If an application needs to use the data outside the event handle it must allocate own buffer and copy data into it.  
const Size: Cardinal 
The data buffer size. It is guaranteed that the size is greater than 0.  
Copyright (c) 2006-2018. All rights reserved.