IP*Works! 2016 C++ Edition
IP*Works! 2016 C++ Edition
Questions / Feedback?

RecordLength Property

If set to a positive value, this setting defines the length of data records to be received.

Syntax

int GetRecordLength(int iConnectionId);

int SetRecordLength(int iConnectionId, int iRecordLength);

Default Value

0

Remarks

If set to a positive value, this setting defines the length of data records to be received. The class will accumulate data until RecordLength is reached and only then fire the DataIn event with data of length RecordLength. This allows data to be received as records of known length. This value can be changed at any time, including within the DataIn event.

A value of 0 (default) means this setting is not used.

The size of the array is controlled by the ConnectionCount property.

This property is not available at design time.

Data Type

Integer

 
 
Copyright (c) 2020 /n software inc. - All rights reserved.
IP*Works! 2016 C++ Edition - Version 16.0 [Build 7353]