On 4/29/05, Ken Jordan <jordan at digi-net dot com> wrote:
> On Mac I get one ServerCommandReply event in which the data string
> received contains the entire server response, beginning with "+OK" and
> ending with "." - no problem.
>
> However, on Windows I am receiving an inconsistent number of
> ServerCommandReply events
> Has anyone else experienced/overcome this anomaly? What might be
> happening and how can it be remedied?
What's happening is that you basically can't depend at all on the all
the data arriving at once. The fact that it does on the Mac is a fluke
and you shouldn't depend on it. Instead, you have to buffer the data
as it comes in, while at the same time looking for the "." that tells
you all the data has arrived. That's pretty much the these things
work.
--
REALbasic database options: http://sqlabs.net
REALbasic news and tips: http://rbgazette.com
KidzMail & KidzLog: http://haranbanjo.com
_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>
Search the archives of this list here:
<http://support.realsoftware.com/listarchives/lists.html>
|