05-13-2005
Yeah, I DID think think about a server/client approach to this problem, but since I'm fairly new to UNIX I didn't know how to apply my limited knowledge to this type of implementation, so I just tried the above solution taking bits and pieces from textbooks and from what I learned at uni. Would u happen to have a sample code for this?? I'm sorry I'm such a pain in the ass, but I can admit when I need help, and this is one of those ocassions.
Thanx a lot for your help blowtorch, you're a legend.
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
let 3 processes a, b and c are sharing msgs using msg queues.process 'a' sending msg to 'c' and in turn 'c' send sthat msg to 'b'.if something happens to c how can 'a' and 'b' know that 'c' is not available?????? (2 Replies)
Discussion started by: sukaam
2 Replies
2. Solaris
We have message queues created from our ERP system to our tax system via an application api written by the ERP software vendor.
Occasionally when a user does not gracefully exit the ERP application, the message queue hangs. After a few months, this becomes a problem as the queues are all used... (2 Replies)
Discussion started by: MizzGail
2 Replies
3. Linux
how to check the maximun number of message queues in current linux enviornment? is there any command ? (4 Replies)
Discussion started by: princelinux
4 Replies
4. Programming
Hi,
According to my understanding..
When message queues are used, when a process post a message in the queue and if another process reads it from the queue then the queue will be empty unlike shared memory where n number of processess can access the shared memory and still the contents remain... (2 Replies)
Discussion started by: rvan
2 Replies
5. UNIX for Advanced & Expert Users
If I use sockets for IPC, and can easily distribute my applications.
UNIX Message Queues are local to the processor.
As I understand it, Message Queues still incur system call overhead, just like socket calls.
What advantage does a UNIX Message Queue provide versus a TCP or UDP Socket,... (2 Replies)
Discussion started by: zen29sky
2 Replies
6. UNIX for Advanced & Expert Users
#include <sys/ipc.h>
#include <sys/msg.h>
int main()
{
int qid;
int t;
struct msgbuf mesg;
qid=msgget(IPC_PRIVATE,IPC_CREAT);
mesg.mtype=1L;
mesg.mtext=1;
t=msgsnd(qid,&mesg,1,0);
printf("%d",t);
}
the program prints -1 as the result of msgsnd ,which means that msgsnd doesn't... (1 Reply)
Discussion started by: tolkki
1 Replies
7. UNIX for Dummies Questions & Answers
can any body provide a tutorial that explains the concept of message queues in UNIX in great detail (1 Reply)
Discussion started by: asalman.qazi
1 Replies
8. Programming
Hi,
I have searched the forums and could not find a relavant thread discussing my use case, hence the new post.
Basically am trying to pass on work to dummy worker instances from controller which will pass on work to workers (client)
To make use of host capacity, am planning to serialize... (2 Replies)
Discussion started by: matrixmadhan
2 Replies
9. Shell Programming and Scripting
i have an application installed on AIX 5.3 and i have made a script that shutdown a proccesses that exceeded 10000kb of memory usage but i have a problem with cleaning the message queues of these proccesses after shutting them down. Is there any way to clean the message queues for this particular... (8 Replies)
Discussion started by: Portabello
8 Replies
10. UNIX for Advanced & Expert Users
i have a program(C++ Code) that sends/receives information through queue's (Uses MQ)
Is there any UNIX/LINUX tool that calculates the load and performance time for the same.
If not how do i design the program that calculates the performance time.
i know that time.h can be used but it gives... (2 Replies)
Discussion started by: vkca
2 Replies
LEARN ABOUT DEBIAN
muroard
muroard(1) System User's Manual: muroard muroard(1)
NAME
muroard - minimalist sound server for the RoarAudio protocol
SYNOPSIS
muroard [OPTIONS]...
DESCRIPTION
muRoarD is a sound server supporting the RoarAudio protocol. It is designed to mix the audio data of multiple applications together to
send it as a single stream to the soundcard.
muRoarD is a minimalist version of such a sound server. It does only implement the very minimum part the the protocol but is very much
smaller than the original roard.
MISC OPTIONS
-h --help
Print a short help and exit.
--version
Print version information of the daemon and exit.
--daemon
Bring the server into background after init.
On win32 this hides the console window. This only works if used within a Shortcut.
--autostandby
Start in autostandby mode.
--no-autostandby
Do not start in autostandby mode.
--standby
Start in standby mode.
--no-standby
Do not start in standby mode.
AUDIO OPTIONS
-R --rate RATE
Set server sample rate.
-C --chans CHANNELS
Set server number of channels channels.
DRIVER OPTIONS
-O --odevice DEV
Set output device (sound card). The possible values of this depend on the used driver.
SOURCES OPTIONS
-S DEV Set the file or device for the new source.
-sC CHANS
Sets the number of channels for the source. This is the same as '-sO channels=XXX' for roard.
-sB BITS
Sets the number of bits for the source. This is the same as '-sO bits=XXX' for roard.
-sE CODEC
Sets codec for the source. This is the same as '-sO codec=XXX' for roard.
NETWORK OPTIONS
--no-listen
Disable listen socket. This may be used for example to implement the server type '+fork' but is absolutly useless for normal users.
--client-fh FH
Add a client via FH. See --no-listen.
--bind ADDR
Set path/hostname of listen socket. This may be a /path/to/sock for UNIX Sockets or a hostname or address for TCP/IP.
Please do not use IP Addresses directly if not needed. Use hostnames.
On win32 there is no support for UNIX sockets. Only IP is supported.
--port PORT
Set port of listen socket. This only applys for TCP/IP sockets and is ignorged for UNIX Sockets.
-u --unix
Use UNIX Domain listen socket.
This is not supported on win32.
-t --tcp
Use TCP/IP listen socket.
-n --decnet
Use DECnet listen socket.
SEE ALSO
muroarstream(1), RoarAudio(7).
HISTORY
The first offical version of muRoarD (0.1beta0) was released on Wed Mar 03 2010 24:26 CET. For more information please see the file
ChangeLog.
RoarAudio March 2010 muroard(1)