19 din.setTextMode(
true);
20 dout.setTextMode(
true);
23 bool ok =
handler.apply(
din.getReader(), &
dout.getWriter(),
false);
static void handler(int sig)
Manage a single connection to the name server.
bool process(yarp::os::PortWriter &in, yarp::os::PortReader &out, const yarp::os::Contact &remote) override
A mini-server for performing network communication in the background.
A dummy connection to test yarp::os::Portable implementations.
Interface implemented by all objects that can read themselves from the network, such as Bottle object...
virtual bool read(ConnectionReader &reader)=0
Read this object from a network connection.
Interface implemented by all objects that can write themselves to the network, such as Bottle objects...
virtual bool write(ConnectionWriter &writer) const =0
Write this object to a network connection.
An interface to the operating system, including Port based communication.