comReadTimeout

C Scripting Language
Reference Manual
Version 4.4.0

<< Back  End  Next >>
 
 
INDEX
Introduction
Installation
Using the CSL executive
Language
Directives
System library
String library
Math library
Regular expression lib.
File library
Database library
Async Communication
   comBits
   comBps
   comClose
   comFlow
   comInputChars
   comOpen
   comParity
   comPurgeInput
   comRead
   comReadChar
   comReadTimeout
   comStops
   comWaitForOutput
   comWrite
Registry/Profile handling
Windows control
C API
C++ Class Interface
CSL links
  
comReadTimeout(
  const handle,       // async handle
  [const millisecs])  // new timeout value

Query and/or set the read timeout in milliseconds. If parameter millisecs is omitted, the current setting is queried. A timeout value of 0 will wait forever.

Examples:

var rto = comReadTimeout(hdl);  // query current setting
comReadTimeout(hdl, 30000); // set timeout to 30 seconds
  Copyright © IBK Landquart Last revision: 27.05.2002 << Back  Top  Next >>