Eric Corbett eric at
Fri Oct 16 20:09:18 EDT 2015

Thanks Bob, but it doesn’t quite help. I can use sockets, just not sure how to talk back and forth without having both devices acting like a server.

Thanks Dr. Hawkins, I’ll look that up. Does your code have both computers doing an “accept connection on port …”? And is the port different on each computer or the same? Maybe I’ll have my answer from a code audit.

I’ll have to look back at the rev chat example again also, but I don’t remember this being helpful.


> On Oct 16, 2015, at 4:47 PM, Dr. Hawkins <dochawk at> wrote:
> On Fri, Oct 16, 2015 at 1:44 PM, Eric Corbett <eric at>
> wrote:
>> Bonus: How do I use the "|[connection id]”? I use an id for open socket
>> and write to, but the address from the readSocket callback does not contain
>> an ID. Is this a bug? I use write to… with message… and this handler has
>> the ID as part of the address, but what use is it for the client if the
>> server does not get it?
> The gist of it is that when you listen on at the server, and opensocket at
> the client, you specify handlers.  That handler is then called when there
> is a message from the other.
> If you search the archives, there should be a link where you could download
> my old master/slave stacks, which talk to one another.
> -- 
> Dr. Richard E. Hawkins, Esq.
> (702) 508-8462
> _______________________________________________
> use-livecode mailing list
> use-livecode at
> Please visit this url to subscribe, unsubscribe and manage your subscription preferences:

More information about the use-livecode mailing list