PC SOFT

WINDEVWEBDEV AND WINDEV MOBILE
ONLINE HELP

Home | Sign in | English UK

WINDEV
WindowsLinuxUniversal Windows 10 AppJavaReports and QueriesUser code (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Browser code
WINDEV Mobile
AndroidAndroid Widget iPhone/iPadApple WatchUniversal Windows 10 AppWindows Mobile
Others
Stored procedures
..Timeout is used to find out and modify the timeout after which the connection will be considered as "having failed". This timeout is taken into account when using StreamConnect and ..Address.
The default timeout is set to 2 minutes by default.
Example
// Increase the timeout
MyStream..Timeout = 150000
Syntax

Finding out the timeout before the connection fails Hide the details

<Result> = <Stream name>..Timeout
<Result>: Integer
Timeout after which the connection is considered as "being failed". This timeout is expressed in milliseconds. The default timeout is set to 2 minutes (or 120 000 milliseconds).
<Stream name>: Character string (with or without quotes)
Name of the stream or name of the Conference control associated with the stream.

Modifying the timeout before the connection fails Hide the details

<Stream name>..Timeout = <New timeout>
<Stream name>: Character string (with or without quotes)
Name of the stream or name of the Conference control associated with the stream.
<New timeout>: Integer ou Duration
Timeout after which the connection is considered as "being failed". This timeout is expressed in milliseconds. The default timeout is set to 2 minutes (or 120 000 milliseconds). This parameter can correspond to:
  • an integer corresponding to the number of thousands of a second,
  • Versions 25 and later
    a Duration variable,
    New in version 25
    a Duration variable,
    a Duration variable,
  • Versions 25 and later
    the duration in clear ('1cs' or '10 ms' for example).
    New in version 25
    the duration in clear ('1cs' or '10 ms' for example).
    the duration in clear ('1cs' or '10 ms' for example).
Minimum version required
  • Version 9
Comments
Click [Add] to post a comment