Inspirel banner

Programming Distributed Systems with YAMI4

6.1.6 C++

Assuming that the agent object was already created, a C++ server that intends to establish a ``wildcard'' listener can execute the following code:

std::string resolved_target =
    my_agent.add_listener("tcp://*:*");