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;
}
A simple collection of objects that can be described and transmitted in a portable way.
Utilities for manipulating the YARP network, including initialization and shutdown.
A mini-server for network communication.
The main, catch-all namespace for YARP.
int main(int argc, char *argv[])