IPWorks SSH 2020 JavaScript Edition

Questions / Feedback?

RecordLength Property

The length of received data records.

Syntax

sshclient.getRecordLength(index): number
sshclient.setRecordLength(index, recordLength: number)

Default Value

0

Remarks

The length of received data records. 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.

The default value is 0, meaning this setting is not used.

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

This property is not available at design time.

 
 
Copyright (c) 2020 /n software inc. - All rights reserved.
IPWorks SSH 2020 JavaScript Edition - Version 20.0 [Build 7525]