In our system, an app A registers for the topology service provided by TIPC. It sends subscriptions for port names using TIPC_SUB_PORTS as the filter.
The topology service will send a TIPC_PUBLISHED event whenever the APP B that has this port name comes up.
The problem is we are getting multiple TIPC_PUBLISHED messages for the same app.
I went through the TIPC programming guide and figured thet the name subscription should be TIPC_SUB_SERVICE , this will ensure only one message per port.
"The value TIPC_SUB_PORTS causes the topology service to generate a
TIPC_PUBLISHED event for each port name or port name sequence it finds that
overlaps the specified port name sequence"
http://tipc.sourceforge.net/doc/Programmers_Guide.txt
I changed the subscription to TIPC_SUB_SERVICE but still see the same problem. Any idea what could be wrong?