LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Non-*NIX Forums > Programming
User Name
Password
Programming This forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game.

Notices


Reply
  Search this Thread
Old 11-01-2004, 11:32 AM   #1
feetyouwell
Member
 
Registered: Dec 2003
Location: NC, US
Distribution: Novell Linux Eval (2.6.5)
Posts: 240

Rep: Reputation: 30
send to all that connect to same msg queue


is there a way to send msgs to all that connects to the same msg queue? there is no flag in msgsnd() to do it.
 
Old 11-01-2004, 12:41 PM   #2
Hko
Senior Member
 
Registered: Aug 2002
Location: Groningen, The Netherlands
Distribution: Debian
Posts: 2,536

Rep: Reputation: 111Reputation: 111
AFAIK this is not possible. Once a message is read, it's also removed from the queue, so no other processes can get it anymore.

I think you can use (filesystem) sockets for this.
 
  


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
unable to send/recive msg thru thunderbird jabka Mandriva 0 10-18-2005 04:37 PM
qmail queue -- can't send mail to anywhere -- please help me b:z *BSD 2 07-12-2005 08:30 AM
Semaphore, Msg queue with php? blackzone Programming 1 10-20-2004 01:06 AM
send-queue problem packet drop jorgen Linux - Networking 0 02-07-2004 02:04 PM
Send Queue Growing - Why does this happen? oswald21 Linux - Networking 0 08-13-2003 01:33 PM

LinuxQuestions.org > Forums > Non-*NIX Forums > Programming

All times are GMT -5. The time now is 12:25 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