Serial Framework C++ Edition

◆ WriteData()

virtual int WriteData ( const void *const  Data,
const unsigned long  Size,
unsigned long &  Written 
)
overrideprotectedvirtual

Writes data to the Client Connection.

Parameters
DataThe pointer to the data buffer that should be sent to the connected device.
SizeThe data buffer size.
WrittenThe amount of bytes actually written to the device.
Returns
If the function succeed the return value is WCL_E_SUCCESS. Otherwise the method returns one of the WCL error codes.

Implements CwclCustomDataProcessor.