Pete,

Most programmes were not written for socket communication. Instead, they write 
to stdout, which can be read from using the read from process command. Writing 
to stdout is much easier than writing to a socket. However, if you are writing 
the app you want to communicate with yourself, then you might as well use 
sockets. IIRC writing to stdout doesn't work correctly in LiveCode, which 
leaves sockets as a good alternative.

--
Best regards,

Mark Schonewille

Economy-x-Talk Consulting and Software Engineering
Homepage: http://economy-x-talk.com
Twitter: http://twitter.com/xtalkprogrammer
KvK: 50277553

Become our partner in sales http://qery.us/16r Start selling Color Converter 
today. 20% commission!

On 9 nov 2011, at 08:38, Pete wrote:

> Very useful lesson.  I guess I'm still interested in the
> differences/pros/cons of using sockets versus open process/read from
> process/write to process LC commands (assuming both processes are LC).  Do
> those commands use sockets under the covers?
> Pete
> Molly's Revenge <http://www.mollysrevenge.com>
> 
> 


_______________________________________________
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode

Reply via email to