LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 09-24-2012, 10:08 PM   #1
fzansari
LQ Newbie
 
Registered: Aug 2008
Posts: 6

Rep: Reputation: 0
TIPC_PUBLISHED event being received twice for the same app


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?
 
Old 09-27-2012, 12:48 PM   #2
fzansari
LQ Newbie
 
Registered: Aug 2008
Posts: 6

Original Poster
Rep: Reputation: 0
Is there no TIPC expert on this forum? Why does linux have things which noone is aware of.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Check if an app is running and if it's not launch this app Coume Linux - General 3 07-28-2008 02:34 AM
bash - start app, [do stuff], kill started app MiniMe001 Programming 3 03-19-2008 03:06 PM
Fire Event from other event in Visual C++ Express Edition chrisliando Programming 1 11-08-2007 05:12 PM
In search of a cost-control app for 3g/GPRS - bandwidth control and limiting per app motin Linux - Software 0 09-07-2006 06:50 AM
script or app mailcheck app from shell pandersson61 Linux - Software 1 03-24-2006 08:16 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 10:27 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration