AYUDA EN LÍNEA
 WINDEVWEBDEV Y WINDEV MOBILE

Ayuda / WLanguage / Propiedades WLanguage / Propiedades de ventanas, páginas y controles
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').
Versión mínima requerida
  • Versión 9
Comentarios
Haga clic en [Agregar] para publicar un comentario

Última modificación: 26/05/2022

Señalar un error o enviar una sugerencia | Ayuda local