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.




Visual Basic
ReadIntervalTimeout As Long
Visual C++ (MFC)
long get_ReadIntervalTimeout(); 
void put_ReadIntervalTimeout(long value);   
Visual C++ (#import)
LONG ReadIntervalTimeout;


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.


The property may throw exception. Use GetLastError method to get the error code.

See Also

ReadTotalTimeoutConstant, ReadTotalTimeoutMultiplier