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

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

by Michal, Tuesday, February 05, 2008, 12:04 (6136 days ago) @ wodDamir

I tried Hostname but the result is the same:

wod1.Blocking := True;
wod1.Hostname := '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: