In <ee5ntu$d2tlr$(E-Mail Removed)> "Aleksej" <(E-Mail Removed)> writes:
>Hello!
>What mechanisms are usually used for interprocess communication in C++? When
>project consists of several processes located at different network nodes how
>it is easier to program all the messaging between processes/classes.
>Example: one class calls the function from another class that is located on
>another computer.
You have a couple of options to do that:
1. SUN-RPC - stone old, but still works. Not very nice to use from C++,
though.
2. XML-RPC - newer, free libraries are available, some have a C++ interface.
3. CORBA - not so new, but can be used very elegantly and clean if you
stick to the basics (read "Advanced CORBA Programming with C++" by Henning/
Vinoski to avoid troubles).
.... this list is not complete, feel free to fill it up.
I've personally used 2 & 3 and would not again use XML-RPC. SUN-RPC is almost
dead, so I would recommend CORBA. There are a lot of free ORBs around (TAO,
omniORB, etc.), you have a nice IDL, etc.
YMMV,
Uli
--
Dipl. Inf. Ulrich Teichert|e-mail:
(E-Mail Removed)
Stormweg 24 |listening to: Cauchemar (Opération S)
24539 Neumuenster, Germany|Good Looks, Big Deal (Sweatmaster)