Skip to content

Latest commit

 

History

History
 
 

discovery

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 

Discovery

Running The Example

This example demonstrates how to list all active services within your iceoryx2 application. To get the most out of this example, you can combine it with other examples, such as the event example or the publish-subscribe example, to see active services in action.

To begin, let's start some interesting services. Open two terminals and execute the following commands:

Terminal 1

cargo run --example event_listener

Terminal 2

cargo run --example publish_subscribe_subscriber

Once these services are running, you can call the following command:

cargo run --example discovery

This will display the static service details of both the event and the publish-subscribe service, giving you a comprehensive view of the active services in your iceoryx2 application.