This reads some data from a port.Designed to be used with os/simple_sender/simple_sender.cpp example.
#include <cstdio>
int main(
int argc,
char* argv[])
{
Bottle bot;
Port input;
input.open("/receiver");
Network::connect("/sender", "/receiver");
input.read(bot);
printf("Got message: %s\n", bot.toString().c_str());
input.close();
return 0;
}