LC Server & Server Based Stack?

Richard Gaskin ambassador at fourthworld.com
Sun Jan 22 16:05:27 EST 2017


Rick Harrison wrote:

> Ok, so the server and my open LC stack are using
> different engines or are different “instances”.  If they
> are on the same computer it seems to me that one
> might be able to get the two to talk to each other
> through the computer system’s clipboard in theory.
>
> I haven’t had much luck with getting the contents
> of a variable into the clipboard on the server side
> yet.  It keeps throwing weird errors at me.
> Can you think of an easy way to do that?

The clipboard is a good mechanism for an end-user to exchange data
between GUI programs.

For programs to exchange data between themselves without a GUI, you'll
want to use sockets.

This tutorial is the best entry-point for learning sockets I've found yet:

<http://lessons.livecode.com/m/4071/l/12924-how-to-communicate-with-other-applications-using-sockets>

-- 
 Richard Gaskin
 Fourth World Systems
 Software Design and Development for the Desktop, Mobile, and the Web
 ____________________________________________________________________
 Ambassador at FourthWorld.com                http://www.FourthWorld.com




More information about the use-livecode mailing list