Open Socket With Messages

Bob Sneidar bobsneidar at
Mon Jul 6 17:15:05 EDT 2015

I figured it out. First, wait for messages is just this side of useless. *ANY* message that comes through will do, not just messages from the open socket command. Secondly, I just set up my own wait loop that exits when the socket is in the openSockets or else times out after 10 seconds. This will work for me. 

I went back to the dictionary and read more thoroughly what wait for messages does, and while it is working as advertised, it is fairly worthless in it’s present form unless you find a way to trap for *ALL* messages and only respond to the callback, which is way more involved than it ought to be. 

Bob S

> On Jul 6, 2015, at 13:54 , Mike Bonner <bonnmike at> wrote:
> Hmm. YOu might check socketError

More information about the Use-livecode mailing list