MaxLineLength Property

This property is the size of an internal buffer which holds received data while waiting for an EOL string.

Syntax

int GetMaxLineLength(int iConnectionId);
int SetMaxLineLength(int iConnectionId, int iMaxLineLength);

Default Value

2048

Remarks

This property is the size of an internal buffer which holds received data while waiting for an EOL string.

If an EOL string is found in the input stream before MaxLineLength bytes are received, the DataIn event is fired with the EOL parameter set to True, and the buffer is reset.

If no EOL is found, and MaxLineLength bytes are accumulated in the buffer, the DataIn event is fired with the EOL parameter set to False, and the buffer is reset.

The minimum value for MaxLineLength is 256 bytes. The default value is 2048 bytes.

The ConnectionId parameter specifies the index of the item in the array. The size of the array is controlled by the ConnectionCount property.

This property is not available at design time.

Data Type

Integer

Copyright (c) 2022 /n software inc. - All rights reserved.
IPWorks IPC 2020 Qt Edition - Version 20.0 [Build 8155]