Socket Comm Sequence Issue

Ken Ray kray at sonsothunder.com
Fri Apr 15 13:42:53 EDT 2005


On 4/15/05 12:23 PM, "Brian Yennie" <briany at qldlearning.com> wrote:

> See if this helps- works well here with two stacks in the IDE. In the
> second stack, flip the port numbers (and the gotData test message).
> Everything here is non-blocking, which is important if both stacks are
> running together - you don't want one stacks script to block the
> other's.

When do you trigger "sendData"? When I put this into two stacks and open
them, it puts them both into "accept" mode, but neither sends anything to
the other.

What I'm trying to accomplish is that App 1 launches, it in turn launches
App 2, and both of them are in a two-way communication session...

Any suggestions on scripting the critical "who talks first" step? Because if
someone talks before the other one is listening, you're hosed...

;-)

Ken Ray
Sons of Thunder Software
Web site: http://www.sonsothunder.com/
Email: kray at sonsothunder.com




More information about the use-livecode mailing list