[REBOL] Re: Communication between two different rebol apps
From: petr:krenzelok:trz:cz at: 21-Jun-2006 17:31
First,
Alessandro, you should really join AltME with your ideas and activity.
Not everybody is watching ml and you get more input on AtlME.
> I have a problem:
> I have two different rebol programs running on the same PC. How can I
> let them communicate WITHOUT using sockets?
>
Why without sockets? Is opening a listen port a problem on such a
machine? E.g. a firewall issue?
> I wish to avoid to use sockets since I don't want to block some ports.
> But now, I cannot find any other alternatives.
>
> MASTER-APPLICATION
> \____ APPLICATION 1
> \_____APPLICATION 2
> \_____APPLICATION 3
>
I once proposed following scenario for my friend, using directories:
App1
\from-app2
\from-app3
App2
\from-app1
\from-app3
App3
\from-app1
\from-app2
The idea was for each app to own its own directory. For stuff from other
apps, it would look into particular subdirectory. If app1 on the other
hand wants to tell something to app2, it writes to app2\from-app1
directory. You can come up with whatever schema makes sense to you :-)
To keep things in track a bit, use timestamps for particular files. Use
IOS kind of aproach - one message = one file. It all depends upon how
complicated your communication is going to be ...
> Have you any idea?
>
> (if not, I will implement Jell Console Manager using local PC sockets).
>
What do you mean local pc sockets and how do you want them to utilise
from Rebol?
Cheers,
-pekr-