Newsgroups : Borland : borland.public.delphi.internet.winsock : 2008 Feb : Re: Indy 9 TidTCPClient.WriteStream problem
| Subject: | Re: Indy 9 TidTCPClient.WriteStream problem |
| Posted by: | "Tomislav Stamac" (tstam..@vip.hr) |
| Date: | Fri, 29 Feb 2008 09:13:07 |
Thanks,
Can You please tell me which version and where should I download.
The version I have is 9.0.19 whish came with installer.
I also tried 9.0.18 which are zipped sources.
I had pretty much trouble installing and compiling everything.
I googled a bit and found out that Indy 9 for Delphi6\Source has to be in
library path,
but after Zlib because decompression routines was raising AV otherway...
And finally I still have trouble compiling one of my packages in
which I have a IdTCPClient descendant.
On compile I get message: Never-build package 'Indy60' must be recompiled.
regards
"Remy Lebeau (TeamB)" <no.spam@no.spam.com> wrote in message
news:47c6f56c@newsgroups.borland.com...
>
> "Tomislav Stamac" <tstamac@vip.hr> wrote in message
> news:47c66e1f@newsgroups.borland.com...
>
>> if LBufferingStarted then
>> begin
>> OpenWriteBuffer;
>> end;
>
> That is why OnWork does not get triggered. The TStream is being written
> to an intermediate buffer, not to the socket directly. The buffer is not
> flushed to the socket until after OnWorkEnd has been triggered. OnWork
> can only be triggered in between OnWorkBegin and OnWorkEnd. Having
> WriteStream() call OpenWriteBuffer() is a bug that was fixed 2 years ago.
> You are using an outdated version of Indy and should upgrade.
>
>
> Gambit