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
Complete thread:
- Keep alive connection in Delphi 5 - Michal, 2008-02-04, 15:27
- Re: Keep alive connection in Delphi 5 - woddrazen, 2008-02-04, 15:55
- Re: Keep alive connection in Delphi 5 - Michal, 2008-02-04, 16:19
- Re: Keep alive connection in Delphi 5 - wodDamir, 2008-02-04, 16:47
- Re: Keep alive connection in Delphi 5 - Michal, 2008-02-04, 17:02
- Re: Keep alive connection in Delphi 5 - wodDamir, 2008-02-04, 17:22
- Re: Keep alive connection in Delphi 5 - Michal, 2008-02-04, 17:35
- Re: Keep alive connection in Delphi 5 - wodDamir, 2008-02-04, 17:46
- Re: Keep alive connection in Delphi 5 - Michal, 2008-02-05, 12:04
- Re: Keep alive connection in Delphi 5 - wodDamir, 2008-02-05, 12:15
- Re: Keep alive connection in Delphi 5 - Michal, 2008-02-05, 16:29
- Re: Keep alive connection in Delphi 5 - wodDamir, 2008-02-05, 12:15
- Re: Keep alive connection in Delphi 5 - Michal, 2008-02-05, 12:04
- Re: Keep alive connection in Delphi 5 - wodDamir, 2008-02-04, 17:46
- Re: Keep alive connection in Delphi 5 - Michal, 2008-02-04, 17:35
- Re: Keep alive connection in Delphi 5 - wodDamir, 2008-02-04, 17:22
- Re: Keep alive connection in Delphi 5 - Michal, 2008-02-04, 17:02
- Re: Keep alive connection in Delphi 5 - wodDamir, 2008-02-04, 16:47
- Re: Keep alive connection in Delphi 5 - Michal, 2008-02-04, 16:19
- Re: Keep alive connection in Delphi 5 - woddrazen, 2008-02-04, 15:55