#1 2014-05-27 14:08:37

jacson
Member
Registered: 2014-05-27
Posts: 1

How to set another value for KeepAliveMS

Hello,

According to the documentation, the default value for KeepAliveMS is 20 seconds. In the application I'm working, this value should be no more than 5 seconds and none of the three attempts were successful.

TClientDatabaseHTTP = class(TSQLHttpClient)
public
  constructor Create; reintroduce;
end;

constructor TClientDatabaseHTTP.Create;
begin
  inherited Create('127.0.0.1', '779', Model);

  // attempt 1
  SetKeepAliveMS(5000);

  // attempt 2
  KeepAliveMS := 5000;

  // attempt 3
  fKeepAliveMS := 5000;
end;

How do I modify it?

Offline

#2 2014-05-27 20:02:59

ab
Administrator
From: France
Registered: 2010-06-21
Posts: 14,661
Website

Re: How to set another value for KeepAliveMS

Are you using the latest 1.18 "unstable" version of the source code tree, and the corresponding .obj?

Offline

Board footer

Powered by FluxBB