ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

Help / WLanguage / WLanguage properties / Properties associated with windows, pages and controls
WINDEV
WindowsLinuxUniversal Windows 10 AppJavaReports and QueriesUser code (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Browser code
WINDEV Mobile
AndroidAndroid Widget iPhone/iPadIOS WidgetApple WatchMac CatalystUniversal Windows 10 App
Others
Stored procedures
The Timeout property is used to get and change the time after which the connection is considered to have "failed". This timeout is taken into account when the StreamConnect function and the Address property are used.
The default timeout is set to 2 minutes by default.
Example
// Increase timeout
MyStream.Timeout = 150000
Syntax

Finding out the timeout before the connection fails Hide the details

<Result> = <Stream name>.Timeout
<Result>: Integer
Time after which the connection is considered to have "failed". This timeout is expressed in milliseconds. The default timeout is set to 2 minutes (or 120 000 milliseconds).
<Stream name>: Character string
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
Name of the stream or name of the Conference control associated with the stream.
<New timeout>: Integer ou Duration
Time after which the connection is considered to have "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,
  • a Duration variable,
  • the duration in a readable format (e.g., '1cs' or '10 ms').
Minimum version required
  • Version 9
Comments
Click [Add] to post a comment

Last update: 05/26/2022

Send a report | Local help