Newsgroups : Borland : borland.public.delphi.internet.winsock : 2006 May : Re: Detect when command complete

www.cryer.info
Managed Newsgroup Archive

Re: Detect when command complete

Subject:Re: Detect when command complete
Posted by:"Jon" (jonjaco..@comcast.net)
Date:5 May 2006 04:54:16

>> commands were complete remains a mystery.
>
>What you describe is simply not possible, given the code you showed earlier.

Makes no sense to me, either, but it happened. No matter. I learned how to send the whole file at once and the expected behavior is present. No mystery in the new version.

>> I am using writestream in the client and readstream in the server. I
>> am using OnExecute instead of command handlers in the server.
>
>There is nothing wrong with using CommandHandlers.  I gave you a code
>snippet to show how to read/write streams with CommandHandlers.

Not a problem. The OnExecute was simpler, and I was doing a total rewrite anyway.

>> I have a new  problem that doesn't even allow the new method
>> to come into play.

I found the problem shortly after posting the question. I had duplicated all the relevant properties - - except one. I didn't set Active to true. I'm embarassed. Maybe it's old age.

Anyway, as indicated in other posts, it is now working fine.

Thank you for your help.

Jon

Replies:

none

In response to:

www.cryer.info
Managed Newsgroup Archive