PC SOFT

ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

Home | Sign in | English EN

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,
  • Versions 25 and later
    a Duration variable,
    New in version 25
    a Duration variable,
    a Duration variable,
  • Versions 25 and later
    the duration in a readable format (e.g., '1cs' or '10 ms').
    New in version 25
    the duration in a readable format (e.g., '1cs' or '10 ms').
    the duration in a readable format (e.g., '1cs' or '10 ms').
Minimum version required
  • Version 9
Comments
Click [Add] to post a comment