Consultor Eletrônico



Kbase P124763: What do the TcpClientRetry and TcpClientRetryInterval properties do?
Autor   Progress Software Corporation - Progress
Acesso   Público
Publicação   10/13/2008
Status: Verified

GOAL:

What do the TcpClientRetry and TcpClientRetryInterval properties do?

FACT(s) (Environment):

OpenEdge 10.x
Windows

FIX:

The TcpClientRetry and TcpClientRetryInterval properties are used by the .NET Open Client Runtime to determine how long we will try to read and/or write to the AppServer before we give up and throw an exception. These properties can be modified from their default values in order to change the amount of time the Open Client Runtime waits.

The TcpClientRetry property specifies how many iterations we will do in an attempt to read data from the AppServer or write data to the AppServer. The default value for this property is 1000.

The TcpClientRetryInterval property specifies how much time (in milliseconds) we will pause between iterations of the TcpClientRetry property. The default value for this property is 250.

The following shows an example of how to modify these properties:

Progress.Open4GL.RunTimeProperties.TcpClientRetry = 2000.
Progress.Open4GL.RunTimeProperties.TcpClientRetryInterval = 500.