Jump to content
OpenSplice DDS Forum
Sign in to follow this  
Joffrey

How to detect DDSi2 service has not started?

Recommended Posts

Hi everyone,

I am using OpenSplice community edition 6.7.1.1 with C# API.
In the DDS configuration file, I am forcing OpenSplice to use interface 10.10.0.1:

    <DDSI2Service name="ddsi2">
        <General>
            <NetworkInterfaceAddress>10.10.0.1</NetworkInterfaceAddress>
            <AllowMulticast>spdp</AllowMulticast>
            <EnableMulticastLoopback>true</EnableMulticastLoopback>
            <CoexistWithNativeNetworking>false</CoexistWithNativeNetworking>
        </General>

If I disable the NIC assigned to 10.10.0.1 and start OpenSplice, the error log indicates that the service did not find the interface and terminates:      
 

Quote

1525782292.932995/      main: 10.10.0.1: does not match an available interface
1525782292.934040/      main: No network interface selected
1525782292.935084/    (anon): Finis.

However, in Opensplice, there is no indication that the service is not running, e.g. I can call CreateParticipant().
Or publish data by calling DDS.IDataWriter().Write() always returns Ok.

Is there a programmatic way to dectect that the service is not running?

Many thanks,
Joffrey

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

×