The UNIX and Linux Forums  

Go Back   The UNIX and Linux Forums > Top Forums > High Level Programming
Google UNIX.COM


High Level Programming Post questions about C, C++, Java, SQL, and other programming languages here.

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
Message Queue Problem SaTYR High Level Programming 7 07-04-2008 09:30 PM
message queue etenv High Level Programming 2 11-02-2007 02:09 AM
message queue problem ramneek IP Networking 0 09-13-2005 11:14 PM
Deleting ALL message queue v_rathor High Level Programming 2 06-02-2005 09:11 AM
a message queue question.. yanhu High Level Programming 0 03-30-2004 06:29 PM

Reply
 
Submit Tools LinkBack Thread Tools Search this Thread Display Modes
  #1  
Old 10-29-2007
Registered User
 

Join Date: Sep 2007
Posts: 62
URGENT:::Can anybody help me in creating message queue appliction??

hello,
I had to implement a message queue application....between 30 processes......
all 30 proceses are getting data from serial port....

And here is THE FLOW::::::::1 connector process...which is linked with message queue to all the 30 applications. Processes get the data from serial port and do some operation on that data and then send it to the connector process.....

Connector process is polling again and again to check if there is data from any process and then Got that data from processes do further manupulations and then send data through socket (tcp/ip) to remote system acting as a server.........

After that server willl send some data to connector process....which connector process sends to another process........

So can anybody please provide me this kind of source code and how to implement it. ITS URGENT....
Reply With Quote
Forum Sponsor
  #2  
Old 10-29-2007
blowtorch's Avatar
Supporter
 
Join Date: Dec 2004
Location: Singapore
Posts: 2,327
Is this a real world application? If it is, isn't there anyone on your dev team that has the knowledge/expertise to actually plan the implementation?
Reply With Quote
  #3  
Old 10-29-2007
Registered User
 

Join Date: Sep 2007
Posts: 62
yeah its a real world application......
and there are members in my team....but nobody had suitable experience in that IPC mechanism(Message Queue)... thats why I am posting it in unix forum....
So please help me with suitable prgramming tips with some sample code......
thanks & regards.........
Reply With Quote
  #4  
Old 10-29-2007
Registered User
 

Join Date: Sep 2007
Posts: 62
I need regarding message queues...implementation.............
please provide me some sample code....so that I can understand it deeply...I had basic knowledge about it....
Reply With Quote
  #5  
Old 10-29-2007
Registered User
 

Join Date: Jan 2007
Posts: 2,965
Go to a bookshop and get a book like "UNIX Network Programming" by W. Richard Stevens. It is worth it's weight in gold and will answer this question and many many more. This is the bible for serious UNIX programming and even got a mention in Wayne's World.
Reply With Quote
  #6  
Old 10-30-2007
Registered User
 

Join Date: Sep 2007
Posts: 62
thanks for the suggestion.....I already had that book...and I had theoritical knowledge about message queues......

But I want its implementation... how to implement that....So I need some code ..that can help me in implementation.

thanks & regards
Reply With Quote
  #7  
Old 10-30-2007
blowtorch's Avatar
Supporter
 
Join Date: Dec 2004
Location: Singapore
Posts: 2,327
If you have theoretical knowledge of message queues, what more do you want? You already know how to write the code, so just write it. You are just asking for someone to code your application for you, which is unrealistic.

I mean, people have written code before, pointing out specific errors or suggesting improvements. But you are basically asking for an entire application - albeit in the form of 'sample code'.

Also, could you stop the excessive use of '...' in your posts? It is a bit annoying and distracts from the actual subject matter of the post.
Reply With Quote
Google The UNIX and Linux Forums
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes




All times are GMT -7. The time now is 06:15 PM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited.
The UNIX and Linux Forums Content Copyright ©1993-2008. All Rights Reserved.Ad Management by RedTyger Visit The Complex Event Processing Blog

Content Relevant URLs by vBSEO 3.2.0