The OnTimeouts event occurs when other application changes the timeouts parameters of the virtual serial port.

 OnTimeouts(
 LONG ReadIntervalTimeout,
  LONG ReadTotalTimeoutMultiplier,
  LONG ReadTotalTimeoutConstant,
  LONG WriteTotalTimeoutMultiplier,
  LONG WriteTotalTimeoutConstant 
);


Parameters


ReadIntervalTimeout [In] Maximum time, in milliseconds, allowed to elapse between the arrival of two characters on the communications line.  

ReadTotalTimeoutMultiplier [In] Multiplier, in milliseconds, used to calculate the total time-out period for read operations. For each read operation, this value is multiplied by the requested number of bytes to be read.  

ReadTotalTimeoutConstant [In] Constant, in milliseconds, used to calculate the total time-out period for read operations. For each read operation, this value is added to the product of the 

ReadTotalTimeoutMultiplier member and the requested number of bytes.  

WriteTotalTimeoutMultiplier [In] Multiplier, in milliseconds, used to calculate the total time-out period for write operations. For each write operation, this value is multiplied by the number of bytes to be written.  

WriteTotalTimeoutConstant [In] Constant, in milliseconds, used to calculate the total time-out period for write operations. For each write operation, this value is added to the product of the WriteTotalTimeoutMultiplier member and the number of bytes to be written.


See also

OnDSR event

OnRTS event

OnDTR event

OnDCD event

OnCTS event