This is the absolute simplest CAVERNsoft program you can write.
It is called IRB (Information Request Broker).
It does not appear to do much but in fact hidden under the hood
is a persistent, distributed shared-memory broker.
This program is ready to act as a server to accept remote connections
and store and forward data as needed.
Or you can add code to it and make it a client. In the other demos
you will see that all the programs have their beginnings
in this small fragment of code. It is the nucleus of all CAVERNsoft
programs.
To compile type:
make irb
To run type:
irb
Demo:
Here's a demo of what you will see: