Re: Blocking issue (I think)

Giganews Newsgroups
Subject: Re: Blocking issue (I think)
Posted by:  Remy Lebeau \(TeamB\) (no.spam@no.spam.com)
Date: Fri, 1 Aug 2008

"Russella" <russel…@tryware.com.au> wrote in message
news:17AED2C6AE5DE340russel…@tryware.com.au...

> 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.

That depends on how the PDA is actually implemented.

> 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.

Are you sure you are sending the greeting correctly?  Maybe the PDA is hung
on that and not even trying to receive the ack yet?

> 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?

That depends on the particular protocol you are trying to implement.  Can
you show your actual code?

Gambit

Replies

In response to

Blocking issue (I think) posted by Russella on Fri, 1 Aug 2008