Blocking issue (I think)

Giganews Newsgroups
Subject: Blocking issue (I think)
Posted by:  Russella (russel…
Date: Fri, 1 Aug 2008

I'm pretty new to Indy, but hopefully this can be solved easily.

I have a situation where I have a tcpserver communicating with a PDA device.
For the most part everything functions Ok, however the PDA seems to wait
until all data is received before it detects a message like "200 SENDING"
which was sent at the beginning.

The problem occurs when the data sent to the PDA is significant enough to
cause it to timeout waiting for the above message.

Here's a rough sequence of the events

1) PDA attempts to connect
2) TCPServer responds with greeting which is received Ok
3) PDA sends command to request data
4) TCPServer responds with an acknowedgment ("200 SENDING") and begins
sending data
5) PDA timesout on waiting for acknowedgment when data is sizeable.

What I don't understand is that the PDA receives the Greeting without
problem, so why can't it receive the next message without waiting for all
the data?

I hope this makes sense - any help much appreciated.