ReadIntervalTimeout Property

The maximum time allowed to elapse between the arrival of two bytes on the communications line, in milliseconds. During a Read operation, the time period begins when the first byte is received. If the interval between the arrival of any two bytes exceeds this amount, the Read operation is completed and any buffered data is returned. A value of zero indicates that interval time-outs are not used.

Access

Read/Write

Syntax

Delphi
object.ReadIntervalTimeout: Cardinal;
BCBuilder
property Cardinal ReadIntervalTimeout;

Remarks

A value of MAXDWORD (4294967295), combined with zero values for both the ReadTotalTimeoutConstant and ReadTotalTimeoutMultiplier, specifies that the read operation is to return immediately with the bytes that have already been received, even if no bytes have been received.

Errors

The property may throw exception. Refer to Handle errors sample for details.

See Also

ReadTotalTimeoutConstant, ReadTotalTimeoutMultiplier