Keep alive connection in Delphi 5 (General questions)
Hi,
I am not able to keep connection alive.
1. attempt:
wodHttp1.Blocking := True;
wodHttp1.URL := 'http://www.weonlydo.com';
wod1.KeepAlive := 1;
wod1.Get;
// here events Connected, Done, Disconnected are fired
// so the connection is closed
2. attempt:
wodHttp1.Blocking := True;
wodHttp1.URL := 'http://www.weonlydo.com';
wod1.KeepAlive := 1;
wod1.Connect;
// nothing happens here
3. attempt:
wodHttp1.Blocking := True;
wodHttp1.URL := 'http://www.weonlydo.com';
wod1.KeepAlive := 1;
wod1.Connect1;
// (this method is not documented) the events Connected is fired
// but now I don't know how to send a message by GET or POST?
// if I call wod1.Get after wod1.Connect1 the connection is closed.
Thanks,
Michal
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