$include_dir="/home/hyper-archives/boost/include"; include("$include_dir/msg-header.inc") ?>
From: Stjepan Rajko (stipe_at_[hidden])
Date: 2007-03-23 17:36:51
Hello,
In finalizing my SoC proposal for the Signal Network library, I
implemented a pair of components which allow signal networks to be
built accross multiple computers using Boost.Serialization and asio.
An example:
computer 1
-----------
// ...construct and connect a tcp asio socket
signet::socket_sender sender(socket);
generator >>= filter1 >>= sender;
computer 2
-----------
// ...construct and connect a tcp asio socket
signet::socket_receiver receiver(socket);
sender >>= filter2 >>= display;
--- This now behaves similar to the following signal network: generator >>= filter1 >>= filter2 >>= display; , but it's distributed accross two computers. The (current) downside is that the receiver is synchronous. An asynchronous version is in the works. http://dancinghacker.com/code/signet has the SoC proposal, documentation, tutorial, examples, and the library code. Stjepan