Yeah so it seems. ExgAccept was being called (after allocating space based
on the ExgSocketType). But as you pointed out, that length field doesn't
reflect reality.

The new problem I'm having is that I can't alloc space dynamically w/o the
app running, but I suppose that makes sense. What a pain...


Danny Epstein <[EMAIL PROTECTED]> wrote in message
news:31415@palm-dev-forum...
>
> "Chris DiPierro" <[EMAIL PROTECTED]> wrote in message
> news:31380@palm-dev-forum...
> > But if I use 2 devices, the ask dialog comes up, I say 'Yes', but
> > est->length becomes 0 and I just bail there.
>
> Simon Drabble pointed out that you're not calling ExgAccept. But you
should
> also be aware that the length field of the ExgSocketType isn't guaranteed
to
> be transmitted. So even if the sending side sets the length field, the
> receiver may just see zero. Better to just call ExgReceive until it says
> there's nothing more to receive.
> --
> Danny Epstein
> OS Engineer, Palm Inc.
>
>
>



-- 
For information on using the Palm Developer Forums, or to unsubscribe, please see 
http://www.palmos.com/dev/tech/support/forums/

Reply via email to