Re: Keep alive connection in Delphi 5 - WeOnlyDo Discussion board

Re: Keep alive connection in Delphi 5 (General questions)

by Michal, Monday, February 04, 2008, 17:35 (6136 days ago) @ wodDamir

I tried:
wod1.Blocking := True;
wod1.URL := 'http://www.weonlydo.com';
wod1.KeepAlive := 1; // only for sure
wod1.HTTPVersion:='HTTP/1.1';
wod1.Connect1; // here the event Connection was fired - it's OK
State := Ord(wod1.State); // here State is 2 - Connected - idle.
wod1.Get; // here the events Done and Disconnected were fired
State := Ord(wod1.State); // here State is 0 - Not connected.


Complete thread: