Re: Keep alive connection in Delphi 5 (General questions)
Michal,
I've just checked. The following code:
[code] wodHttpDLXCom1.Hostname := 'www.weonlydo.com';
wodHttpDLXCom1.HTTPversion := 'HTTP/1.1';
wodHttpDLXCom1.Blocking := true;
wodHttpDLXCom1.KeepAlive := 1;
wodHttpDLXCom1.Connect1;
wodHttpDLXCom1.Get;[/code]
remains connected to server. You can verify that by checking the component State property. Something like this:
[code]label1.Caption := wodHttpDLXCom1.StateString(wodHttpDLXCom1.State);[/code]
Can you try that?
Regards,
Damba